[patch] cleanup: Wunused corefile.c

Aleksandar Ristovski aristovski@qnx.com
Thu Jan 31 19:36:00 GMT 2013


Hello,

In addition to already posted/committed Wunused I have a bunch of 
patches which work around unused vars by adding attribute unused.

Rationale was: either it was unclear whether the assignment might have 
side-effects or there was something that should have been done (e.g. 
this case) with the variable.

Let me know if this is acceptable approach.

Thank you,

Aleksandar Ristovski
QNX Software Systems


ChangeLog:

         * corefile.c (reopen_exec_file): Add unused attribute to res,
         add FIXME comment for future cleanup.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Wunused-corefile-201301311429.patch
Type: text/x-patch
Size: 755 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20130131/006d3cd9/attachment.bin>


More information about the Gdb-patches mailing list