aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-06-09 20:51:21 +0300
committerBlue Swirl <blauwirbel@gmail.com>2009-06-09 20:51:21 +0300
commitc5947808ef72dce9906000704a4827f1ea5c4517 (patch)
tree944dfaaa5869f86fc9d2d9bb1efcda6c5d701850 /vl.c
parent82384670456d040126252f2e729138e834ecb472 (diff)
Fix warning
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index fcf853222c..c3dc26a1d5 100644
--- a/vl.c
+++ b/vl.c
@@ -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;