Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: zle -f from inside widget to set flags and make yank start/end zle params writable



On Thu, Oct 1, 2015 at 5:33 PM, Jun T. <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
> I'm getting the following warning:
>
> zle_thingy.c:663:1: warning: control may reach end of non-void function [-Wreturn-type]
> }
> ^
>
> Maybe return 1 for invalid flag, and 0 otherwise.

Yeah, danielsh also pointed this out to me. I didn't realize configure
doesn't enable any warnings by default.

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author