diff options
author | Alan Modra <amodra@gmail.com> | 2015-11-09 15:15:51 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-11-09 15:18:47 +1030 |
commit | 78d14d2b9325fb4d25034eccf5650ef967d19640 (patch) | |
tree | 86ae5b484dc7c7fdc75fd559ef9522881e6d0500 /setup.com | |
parent | e9f40d7d68ecc03c8c32ec0acd07c35359fdb4a3 (diff) | |
download | gdb-78d14d2b9325fb4d25034eccf5650ef967d19640.zip gdb-78d14d2b9325fb4d25034eccf5650ef967d19640.tar.gz gdb-78d14d2b9325fb4d25034eccf5650ef967d19640.tar.bz2 |
Silence obstack.c -Wc++compat warning
Fixes
warning: request for implicit conversion from ‘void *’ to ‘struct _obstack_chunk *’ not permitted in C++ [-Wc++-compat]
I moved the assignment to h->chunk to fix an overlong line, then
decided it would be better after the alloc failure check just to do
things the same way as in _obstack_newchunk.
* obstack.c (_obstack_newchunk): Silence -Wc++compat warning.
(_obstack_begin_worker): Likewise. Move assignment to h->chunk
after alloc failure check.
Diffstat (limited to 'setup.com')
0 files changed, 0 insertions, 0 deletions