2003-01-09 Andrew Cagney <ac131313@redhat.com>

* somsolib.h: Fix function indentation.
	* disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
	* gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
	* demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
	* alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
	* somsolib.c, inftarg.c: Remove assignment in if conditional.
This commit is contained in:
Andrew Cagney 2003-01-09 18:30:32 +00:00
parent 4ef3f3be7a
commit bde581776e
15 changed files with 26 additions and 17 deletions

View file

@ -418,7 +418,8 @@ som_solib_add (char *arg_string, int from_tty, struct target_ops *target, int re
int threshold_warning_given = 0;
/* First validate our arguments. */
if ((re_err = re_comp (arg_string ? arg_string : ".")) != NULL)
re_err = re_comp (arg_string ? arg_string : ".");
if (re_err != NULL)
{
error ("Invalid regexp: %s", re_err);
}