From: Alan Modra Date: Tue, 10 May 2011 02:36:41 +0000 (+0000) Subject: * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e789b2650f6961dffe63ce0e462e15c700b5a79;p=binutils-gdb.git * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index aba8bc5503e..e5f4ac5520d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2011-05-10 Alan Modra + + * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error. + 2011-05-09 Paul Brook * config/tc-tic6x.c (streq): Define. diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c index c35240bb355..85f2cbb01e7 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