diff options
author | Andrew Burgess <aburgess@redhat.com> | 2024-03-26 12:09:27 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2024-03-26 12:09:27 +0000 |
commit | f4c19f89ef43dbce8065532c808e1aeb05d08994 (patch) | |
tree | 00c1851e02f1058f34dfc31cd4fce488278b144a /zlib/trees.c | |
parent | 24df37a10f8773ad5db07dc000f694d6405e3a36 (diff) | |
download | gdb-f4c19f89ef43dbce8065532c808e1aeb05d08994.zip gdb-f4c19f89ef43dbce8065532c808e1aeb05d08994.tar.gz gdb-f4c19f89ef43dbce8065532c808e1aeb05d08994.tar.bz2 |
gdb/gdbserver: fix some defined but unused function warnings
This commit:
commit 198ff6ff819c240545f9fc68b39636fd376d4ba9
Date: Tue Jan 30 15:37:23 2024 +0000
gdb/gdbserver: share x86/linux tdesc caching
added some functions which are always defined, but their use is
guarded within various #ifdef blocks. As a result we were seeing
errors about defined, but unused, functions.
I've fixed this problem in this commit by wrapping the function
definitions within #ifdef blocks.
I'm a little worried that there might be too many #ifdef blocks within
this file, however, I'm going to commit this fix for now as this will
fix the build, then I'll think about if there's a better way to split
this file so we might avoid some of these #ifdef blocks.
Diffstat (limited to 'zlib/trees.c')
0 files changed, 0 insertions, 0 deletions