8 Nov
2017
8 Nov
'17
1:13 p.m.
2017-11-08 10:33 GMT+01:00 Paul Gofman <gofmanp(a)gmail.com>:
There is actually no usage of uninitialized variable there, though it is probably not exactly straightforward for compiler to guess. Why it does not complain that 'cdesc[index]' may be used uninitialized while it is handled the same way? AFAIK GCC 8 is not released yet, maybe this will change before final release?
If still to change that, does the attached patch fixes the warning as well (sorry, I don't have gcc 8 in hands to test)? If yes, I would suggest that would be a tiny bit nicer way to silence the warning.
If that works it would be preferable to me too.