提交 c5947808 编写于 作者: B Blue Swirl

Fix warning

Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 82384670
...@@ -4806,7 +4806,7 @@ static char *find_datadir(const char *argv0) ...@@ -4806,7 +4806,7 @@ static char *find_datadir(const char *argv0)
len = GetModuleFileName(NULL, buf, sizeof(buf) - 1); len = GetModuleFileName(NULL, buf, sizeof(buf) - 1);
if (len == 0) { if (len == 0) {
return len; return NULL;
} }
buf[len] = 0; buf[len] = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册