aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test_inventory.cpp
diff options
context:
space:
mode:
authorLoïc Blot <loic.blot@unix-experience.fr>2018-12-04 12:38:11 +0100
committerLoïc Blot <loic.blot@unix-experience.fr>2018-12-04 12:39:19 +0100
commit7f545db9770e5bf454545ce97900eaba30b77856 (patch)
tree2d512b8a692580e7ce4a58c7e5d414c47d18179b /src/unittest/test_inventory.cpp
parent39ea1cd4283a77066d5f63b90146dfb17de813a8 (diff)
downloadminetest-7f545db9770e5bf454545ce97900eaba30b77856.tar.gz
minetest-7f545db9770e5bf454545ce97900eaba30b77856.tar.bz2
minetest-7f545db9770e5bf454545ce97900eaba30b77856.zip
Fix a stringop-truncation GCC warning
``` minetest/src/filesys.cpp:312:10: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 10000 equals destination size [-Wstringop-truncation] strncpy(argv_data[2], path.c_str(), 10000); ```
Diffstat (limited to 'src/unittest/test_inventory.cpp')
0 files changed, 0 insertions, 0 deletions