suppress gcc complaint
This commit is contained in:
parent
c9b72f97f8
commit
2ec7740c3a
@ -99,7 +99,7 @@
|
|||||||
* need to copy the result into our private buffer. */ \
|
* need to copy the result into our private buffer. */ \
|
||||||
if (err_str != (buf)) { \
|
if (err_str != (buf)) { \
|
||||||
strncpy((buf), err_str, ((len) - 1)); \
|
strncpy((buf), err_str, ((len) - 1)); \
|
||||||
buf[(len)-1] = '\0'; \
|
(buf)[(len)-1] = '\0'; \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user