Re: [libvirt] [PATCH] vshReadlineParse: Remove unused variable

2016-11-04 Thread Peter Krempa
On Fri, Nov 04, 2016 at 09:58:53 +0100, Michal Privoznik wrote: > After 06a7b1ff4 the @_need_arg is not used anywhere. Well, > it is set but never read: > > vsh.c: In function 'vshReadlineParse': > vsh.c:2658:14: warning: variable 'opts_need_arg' set but not used > [-Wunused-but-set-variable] >

[libvirt] [PATCH] vshReadlineParse: Remove unused variable

2016-11-04 Thread Michal Privoznik
After 06a7b1ff4 the @_need_arg is not used anywhere. Well, it is set but never read: vsh.c: In function 'vshReadlineParse': vsh.c:2658:14: warning: variable 'opts_need_arg' set but not used [-Wunused-but-set-variable] uint64_t opts_need_arg, opts_seen; ^