Commit 21a942d2 by Joern Rennecke Committed by Joern Rennecke

* jvspec.c (lang_specific_driver): Constify two variables named "p".

From-SVN: r156068
parent 5f8f3f94
......@@ -6,6 +6,8 @@
(load_class): Constify variable "separator".
Use get_identifier_with_length.
* jvspec.c (lang_specific_driver): Constify two variables named "p".
2010-01-09 Jakub Jelinek <jakub@redhat.com>
* jcf-dump.c (version): Update copyright notice dates.
......
......@@ -542,14 +542,14 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
if (! strncmp (argv[i], "-fCLASSPATH=", 12)
|| ! strncmp (argv[i], "-fclasspath=", 12))
{
char *p = strchr (argv[i], '=');
const char *p = strchr (argv[i], '=');
jcf_path_classpath_arg (p + 1);
--j;
continue;
}
if (! strncmp (argv[i], "-fbootclasspath=", 16))
{
char *p = strchr (argv[i], '=');
const char *p = strchr (argv[i], '=');
jcf_path_bootclasspath_arg (p + 1);
--j;
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment