From 6e789b2650f6961dffe63ce0e462e15c700b5a79 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 10 May 2011 02:36:41 +0000 Subject: [PATCH] * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error. --- gas/ChangeLog | 4 ++++ gas/dw2gencfi.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index aba8bc5503..e5f4ac5520 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 c35240bb35..85f2cbb01e 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