diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2021-03-18 11:08:16 +1000 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2021-03-19 23:44:30 +0200 |
commit | 7a205e25ac3b3a69bb12316a096eb1bab35a2702 (patch) | |
tree | f862b12dc3c8acbd8d3ae31022e35730a3a737ec /test/registry.c | |
parent | 21c864ccbf9368fe0c504c017bf8f8f414bc2f89 (diff) | |
download | xorg-lib-libxkbcommon-7a205e25ac3b3a69bb12316a096eb1bab35a2702.tar.gz |
bench: silence coverity complaint about a double free
False positive because we rely on xkb_components_from_rules() to initalize this
struct, but let's localize the variable anyway to shut coverity up.
libxkbcommon-1.0.3/bench/rules.c:59:9: warning[-Wanalyzer-double-free]:
double-free of kccgst.symbols
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test/registry.c')
0 files changed, 0 insertions, 0 deletions