-Wwrite-strings: The Rest
[deliverable/binutils-gdb.git] / gdb / mi / mi-cmd-env.c
index a6347ee11e2c50bcf890fdd4edbf32e813b75b2b..4093178713ff1b1fd93a08ad3e229a38a8799a27 100644 (file)
@@ -116,7 +116,7 @@ mi_cmd_env_path (const char *command, char **argv, int argc)
 {
   struct ui_out *uiout = current_uiout;
   char *exec_path;
-  char *env;
+  const char *env;
   int reset = 0;
   int oind = 0;
   int i;
@@ -271,7 +271,7 @@ void
 _initialize_mi_cmd_env (void)
 {
   struct gdb_environ *environment;
-  char *env;
+  const char *env;
 
   /* We want original execution path to reset to, if desired later.
      At this point, current inferior is not created, so cannot use
This page took 0.046356 seconds and 4 git commands to generate.