This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] dead code, printcmd.c


Variable 'symtab' is never set to anything other than zero,
rendering the code blocks that check for it dead code.

I've gone back to version 1.1 in cvs -- this code has always been
dead, even before it was split apart from the original function
"print_address_symbolic" back in 2000.

Found by Coverity.

Attachment: deadcode.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]