aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>1996-01-30 18:32:39 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>1996-01-30 18:32:39 +0000
commitb107aaf90e6e324b3de872fdbf04067a81ce574b (patch)
tree55fd07883a9a707f274bd92d31e81359299fe93f /gcc
parentbcc1f62c9edd0a7265721348392f2924631b03ea (diff)
downloadgcc-b107aaf90e6e324b3de872fdbf04067a81ce574b.zip
gcc-b107aaf90e6e324b3de872fdbf04067a81ce574b.tar.gz
gcc-b107aaf90e6e324b3de872fdbf04067a81ce574b.tar.bz2
Don't include <string.h>. Don't compare strchr result to NULL.
From-SVN: r11125
Diffstat (limited to 'gcc')
-rw-r--r--gcc/dbxout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 256d1aa..3ff1a2c 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -70,7 +70,6 @@ Boston, MA 02111-1307, USA. */
/* Include these first, because they may define MIN and MAX. */
#include <stdio.h>
#include <errno.h>
-#include <string.h>
#include "config.h"
#include "tree.h"
@@ -932,7 +931,7 @@ dbxout_type_methods (type)
#else
marker = '.';
#endif
- if (strchr (debug_name, marker) != NULL)
+ if (strchr (debug_name, marker))
show_arg_types = 1;
/* Detect ordinary methods because their mangled names
start with the operation name. */