[PATCH] dead code, printcmd.c

msnyder@sonic.net msnyder@sonic.net
Tue Jul 24 21:51:00 GMT 2007


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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: deadcode.txt
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070724/1d648b33/attachment.txt>


More information about the Gdb-patches mailing list