aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-05-10 02:36:41 +0000
committerAlan Modra <amodra@gmail.com>2011-05-10 02:36:41 +0000
commit6e789b2650f6961dffe63ce0e462e15c700b5a79 (patch)
tree301a1a5f1eaccf8dcba26c881d1f9f3cf1f5d403 /gas
parent6592a5d8f099cdaeb66cdcaf133dd01ff1e20b6b (diff)
downloadgdb-6e789b2650f6961dffe63ce0e462e15c700b5a79.zip
gdb-6e789b2650f6961dffe63ce0e462e15c700b5a79.tar.gz
gdb-6e789b2650f6961dffe63ce0e462e15c700b5a79.tar.bz2
* dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/dw2gencfi.c2
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