aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-10-08 10:40:59 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-10-08 10:40:59 -0400
commit95216deccf22654a633672249bfe66c89a138880 (patch)
tree33d0123af22e1913706a129b6c6dd8fa1aa53626
parentea8daa3ba3b801c45e4386b8b9477d065075c5d7 (diff)
downloadgcc-95216deccf22654a633672249bfe66c89a138880.zip
gcc-95216deccf22654a633672249bfe66c89a138880.tar.gz
gcc-95216deccf22654a633672249bfe66c89a138880.tar.bz2
(check_function_format): Correct error in last change.
From-SVN: r5680
-rw-r--r--gcc/c-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index bd70adc..2af1ea9 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -498,7 +498,7 @@ check_function_format (name, assembler_name, params)
/* See if this function is a format function. */
for (info = function_format_list; info; info = info->next)
{
- if ((info->assembler_name || assembler_name)
+ if (info->assembler_name
? (info->assembler_name == assembler_name)
: (info->name == name))
{