[Bug general/21011] "may be used uninitialized" error with -Werror=maybe-uninitialized

mark at klomp dot org sourceware-bugzilla@sourceware.org
Wed Apr 19 19:58:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21011

--- Comment #13 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Luiz Angelo Daros de Luca from comment #12)
> Great! Thanks!
> 
> How about libcpu/i386_disasm.c case?

Don't use -DNDEBUG. assert is a noreturn function. The asserts in the code are
deliberately there. If they fail something is seriously wrong.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list