cli-setshow.c: Constify variable
authorSimon Marchi <simon.marchi@polymtl.ca>
Sun, 25 Oct 2015 02:28:56 +0000 (22:28 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 25 Oct 2015 02:29:16 +0000 (22:29 -0400)
commit1650ca11248ca377a6c8b6f7e21ec2aa8e7b3fd5
tree3798b61c73b774c760721462e4055857fef71dbd
parenta7dbb7d12b5f198dc5173f55d0a049236b3c439f
cli-setshow.c: Constify variable

Fixes:

/home/simark/src/binutils-gdb/gdb/cli/cli-setshow.c:390:13: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
  p = strchr (arg, ' ');
             ^
gdb/ChangeLog:

* cli/cli-setshow.c (do_set_command): Constify p.
gdb/ChangeLog
gdb/cli/cli-setshow.c