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-10-05 08:33:00 +02:00
2016-08-01 12:02:51 +02:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2016-01-11 15:49:13 +01:00
2016-09-06 16:05:20 +02:00
2015-05-12 08:53:14 +02:00
2015-02-23 08:49:21 +01:00
2016-08-31 12:52:11 +02:00
2009-09-21 14:41:45 +01:00
2015-08-14 15:45:44 +02:00
2015-08-14 15:45:44 +02:00
2016-07-26 17:30:01 +02:00
2015-08-14 15:45:44 +02:00
2016-10-05 09:05:52 +02:00
2015-08-14 15:45:44 +02:00
2015-02-20 07:46:54 +01:00
2016-09-22 15:40:08 +02:00
2012-09-20 16:30:55 -06:00
2016-08-24 17:43:29 +02:00
2015-08-14 15:45:44 +02:00
2016-09-08 09:54:12 +02:00
2015-08-14 15:45:44 +02:00
2016-09-20 15:17:46 +02:00
2012-09-20 16:30:55 -06:00
2016-08-24 17:43:29 +02:00
2015-08-14 15:45:44 +02:00
2016-09-08 09:54:12 +02:00
2015-08-14 15:45:44 +02:00
2016-08-24 17:43:29 +02:00
2012-09-20 16:30:55 -06:00
2016-08-24 17:43:29 +02:00
2012-09-20 16:30:55 -06:00
2016-09-07 11:11:30 -04:00
2015-08-14 15:45:44 +02:00
2016-09-14 13:18:07 +02:00
2016-03-01 06:50:16 -05:00
2016-10-05 09:05:52 +02:00
2016-09-26 08:06:30 -04:00
2015-12-21 10:07:59 +01:00
2016-09-20 15:17:46 +02:00
2016-05-04 16:30:30 +02:00
2016-05-11 09:06:32 +02:00
2016-03-30 09:41:54 +02:00
2016-05-11 09:06:32 +02:00
2016-06-14 08:02:45 +03:00
2016-05-11 09:06:32 +02:00
2016-04-25 15:40:43 +02:00
2016-04-25 15:40:44 +02:00
2016-07-19 07:51:10 -04:00
2016-06-10 11:03:02 +01:00
2016-06-10 11:03:02 +01:00
2016-04-25 15:40:43 +02:00
2016-04-25 15:40:44 +02:00
2016-04-25 15:40:43 +02:00
2016-04-25 15:40:44 +02:00
2016-04-25 15:40:43 +02:00
2016-04-25 15:40:44 +02:00
2016-10-05 17:26:47 +02:00
2016-09-20 15:17:46 +02:00