path: root/tools
diff options
authorPeter Hutterer <>2018-06-19 13:13:24 +1000
committerPeter Hutterer <>2018-06-19 13:13:24 +1000
commit4de756766cf32168c735fa13b20d6edb0fef0733 (patch)
treeab7f8e07690d45ad71ad5fefa428cbe557471b8b /tools
parent17c460964507e41d9271f14661b4311389f14b51 (diff)
test: remove a compiler warning
Leftover from a previous iteration of this code - having a static but unnecessarily large size for dirname results in: ../test/litest.c:1251:38: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] snprintf(dest, sizeof(dest), "%s/%s", dirname, filename); ^ ../test/litest.c:1251:3: note: ‘snprintf’ output 2 or more bytes (assuming 4097) into a destination of size 4096 snprintf(dest, sizeof(dest), "%s/%s", dirname, filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Peter Hutterer <>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions