diff options
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/dw2gencfi.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index aba8bc5..e5f4ac5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2011-05-10 Alan Modra <amodra@gmail.com> + + * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error. + 2011-05-09 Paul Brook <paul@codesourcery.com> * config/tc-tic6x.c (streq): Define. diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c index c35240b..85f2cbb 100644 --- a/gas/dw2gencfi.c +++ b/gas/dw2gencfi.c @@ -73,7 +73,7 @@ #endif #ifndef tc_cfi_endproc -# define tc_cfi_endproc(fde) ((void)0) +# define tc_cfi_endproc(fde) ((void) (fde)) #endif #ifndef DWARF2_FORMAT |