* src/getargs.c (getargs): Don't assign const address to non-const
pointer.
+2008-11-17 Joel E. Denny <jdenny@ces.clemson.edu>
+
+ Fix last warning from --enable-gcc-warnings.
+ * src/getargs.c (getargs): Don't assign const address to non-const
+ pointer.
+
2008-11-17 Joel E. Denny <jdenny@ces.clemson.edu>
Don't let maintainer-*-check targets force a version update.
{
char* name = optarg;
char* value = strchr (optarg, '=');
+ char const * muscle_value = "";
if (value)
- *value++ = 0;
- else
- value = "";
- muscle_percent_define_insert (name, command_line_location (), value);
+ {
+ *value++ = 0;
+ muscle_value = value;
+ }
+ muscle_percent_define_insert (name, command_line_location (),
+ muscle_value);
}
break;