#include <stdlib.h> void f(const char* s) { wchar_t buf[99]; mbstowcs(buf, s, 99); }
t.c:6:14: error: Uninitialized variable: buf [uninitvar]
thanks! I fixed the configuration with https://github.com/danmar/cppcheck/commit/9ce0235e8e7422a0d081f8a3a71ce29677e659a7
Log in to post a comment.
t.c:6:14: error: Uninitialized variable: buf [uninitvar]
thanks! I fixed the configuration with https://github.com/danmar/cppcheck/commit/9ce0235e8e7422a0d081f8a3a71ce29677e659a7
Last edit: Daniel Marjamäki 2021-04-03