* dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
authorAlan Modra <amodra@gmail.com>
Tue, 10 May 2011 02:36:41 +0000 (02:36 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 10 May 2011 02:36:41 +0000 (02:36 +0000)
gas/ChangeLog
gas/dw2gencfi.c

index aba8bc5..e5f4ac5 100644 (file)
@@ -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.
index c35240b..85f2cbb 100644 (file)
@@ -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