mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
Fix warning
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
8238467045
commit
c5947808ef
1 changed files with 1 additions and 1 deletions
2
vl.c
2
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;
|
||||
|
|
Loading…
Reference in a new issue