Simplify last patch slightly.

* src/getargs.c (getargs): Here.
This commit is contained in:
Joel E. Denny committed 2008-11-17 10:51:17 -05:00
1 parent a8beef7e6a
commit 9ce405ce1d
2 files changed
+6 -5

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
2008-11-17 Joel E. Denny <[email protected]>
Simplify last patch slightly.
* src/getargs.c (getargs): Here.
2008-11-17 Joel E. Denny <[email protected]>
Fix last warning from --enable-gcc-warnings.
+1 -5
View File
@@ -529,14 +529,10 @@ getargs (int argc, char *argv[])
{
char* name = optarg;
char* value = strchr (optarg, '=');
char const * muscle_value = "";
if (value)
{
*value++ = 0;
muscle_value = value;
}
muscle_percent_define_insert (name, command_line_location (),
muscle_value);
value ? value : "");
}
break;