diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-06-09 20:51:21 +0300 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-06-09 20:51:21 +0300 |
commit | c5947808ef72dce9906000704a4827f1ea5c4517 (patch) | |
tree | 944dfaaa5869f86fc9d2d9bb1efcda6c5d701850 /vl.c | |
parent | 82384670456d040126252f2e729138e834ecb472 (diff) |
Fix warning
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |