Jiri Denemark 7fe613af57 vsh: Fix warnings in command line completer
GCC complained that

vsh.c: In function 'vshReadlineOptionsGenerator':
vsh.c:2622:29: warning: unused variable 'opt' [-Wunused-variable]
         const vshCmdOptDef *opt = &cmd->opts[list_index];
                             ^
vsh.c: In function 'vshReadlineParse':
vsh.c:2830:44: warning: 'opt' may be used uninitialized in this function
[-Wmaybe-uninitialized]
             completed_list = opt->completer(autoCompleteOpaque,

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2016-10-05 17:26:47 +02:00
..
2016-08-01 12:02:51 +02:00
2016-09-08 09:54:12 +02:00
2016-08-24 17:43:29 +02:00
2016-09-14 13:18:07 +02:00
2016-09-26 08:06:30 -04:00
2016-04-25 15:40:44 +02:00
2016-04-25 15:40:44 +02:00
2016-04-25 15:40:44 +02:00
2016-04-25 15:40:44 +02:00