diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-08 10:40:59 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-08 10:40:59 -0400 |
commit | 95216deccf22654a633672249bfe66c89a138880 (patch) | |
tree | 33d0123af22e1913706a129b6c6dd8fa1aa53626 /gcc | |
parent | ea8daa3ba3b801c45e4386b8b9477d065075c5d7 (diff) | |
download | gcc-95216deccf22654a633672249bfe66c89a138880.zip gcc-95216deccf22654a633672249bfe66c89a138880.tar.gz gcc-95216deccf22654a633672249bfe66c89a138880.tar.bz2 |
(check_function_format): Correct error in last change.
From-SVN: r5680
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-common.c | 2 |
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)) { |