Fix warning

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2009-06-09 20:51:21 +03:00
parent 8238467045
commit c5947808ef

2
vl.c
View file

@ -4806,7 +4806,7 @@ static char *find_datadir(const char *argv0)
len = GetModuleFileName(NULL, buf, sizeof(buf) - 1);
if (len == 0) {
return len;
return NULL;
}
buf[len] = 0;