]> git.saurik.com Git - bison.git/blobdiff - src/getargs.c
Simplify last patch slightly.
[bison.git] / src / getargs.c
index fddc023b33b6f979907009951ba2490e5b80b059..5601e9811cf0cac82638d2bcfc693f27d5b19de5 100644 (file)
@@ -527,14 +527,10 @@ getargs (int argc, char *argv[])
         {
           char* name = optarg;
           char* value = strchr (optarg, '=');
-          char const * muscle_value = "";
           if (value)
-            {
-              *value++ = 0;
-              muscle_value = value;
-            }
+            *value++ = 0;
           muscle_percent_define_insert (name, command_line_location (),
-                                        muscle_value);
+                                        value ? value : "");
         }
        break;