diff options
author | Orestis <orestisf1993@gmail.com> | 2018-10-07 21:26:24 +0300 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2018-10-07 20:26:24 +0200 |
commit | 494efd49a26ed96d7b0d3d4f69099ccd83e2ccba (patch) | |
tree | 8528ff82b198c81ce970ef87301d8a649e3cd0ea /include | |
parent | 5c9d12befa760e8c7790219f79de837feb5d8ff0 (diff) |
strncpy + strlen is pointless (#312)
strlen already assumes that the string is NULL-terminated.
Fixes -Wstringop-overflow warning
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions