]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/infcmd.c
import gdb-1999-07-07 pre reformat
[thirdparty/binutils-gdb.git] / gdb / infcmd.c
index ba4e798696de259a2453cfe4d10147021f4358d4..17c3d6dbc64c0aab9460715adadfa8e2454c93d5 100644 (file)
@@ -198,8 +198,10 @@ strip_bg_char (args)
      char **args;
 {
   char *p = NULL;
-
-  if (p = strchr (*args, '&'))
+  
+  p = strchr (*args, '&');
+  
+  if (p)
     {
       if (p == (*args + strlen (*args) - 1))
        {