Fix a compiler warning in lib/buildcmd.c

* lib/buildcmd.c: special_terminating_arg should be const.
This commit is contained in:
James Youngman 2011-06-03 01:17:33 +01:00
parent d13223b942
commit 8b0f894dcf
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2011-06-03 James Youngman <jay@gnu.org>
Fix a compiler warning in lib/buildcmd.c
* lib/buildcmd.c: special_terminating_arg should be const.
Fix compiler warnings in lib/fdleak.c
* lib/fdleak.c (visit_open_fds): Rename loop variable from i to j
to avoid shadowing.

View File

@ -73,7 +73,7 @@
extern char **environ;
static char *special_terminating_arg = "do_not_care";
static const char *special_terminating_arg = "do_not_care";