Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a stringop-truncation warning reported by gcc 10
In function ‘strncpy’, inlined from ‘add_classid_to_signatureclass’ at /home/travis/build/nickbroon/vermont/src/modules/analysis/fpsigmatcher/Signature.c:204:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 50 equals destination size [-Werror=stringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Loading branch information