aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-11-08 15:20:41 +0000
committerPedro Alves <palves@redhat.com>2017-11-08 15:28:50 +0000
commit2a1dde5da23779fd0d269c3e51c7814aba9001dd (patch)
tree008a572b7d46ab2a2f9f021a2f95f0940cc1fc2c /gdb/jit.c
parent2841837fac18861bb62e039a20321075d1e76248 (diff)
downloadgdb-2a1dde5da23779fd0d269c3e51c7814aba9001dd.zip
gdb-2a1dde5da23779fd0d269c3e51c7814aba9001dd.tar.gz
gdb-2a1dde5da23779fd0d269c3e51c7814aba9001dd.tar.bz2
Fix "make test-cp-name-parser"
src/gdb/cp-name-parser.y: In function ‘int main(int, char**)’: src/gdb/cp-name-parser.y:2132:30: error: ISO C++ forbids converting a string constant to ‘char*’ [-Werror=write-strings] char *str2, *extra_chars = "", c; ^ Simply don't initialize the variable, it's not necessary. gdb/ChangeLog: 2017-11-08 Pedro Alves <palves@redhat.com> * cp-name-parser.y (main): Don't initialize extra_chars.
Diffstat (limited to 'gdb/jit.c')
0 files changed, 0 insertions, 0 deletions