mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
build: drop unused variable
Compilation for mingw failed: ../../src/util/virutil.c: In function 'virGetWin32DirectoryRoot': ../../src/util/virutil.c:1094:9: error: unused variable 'ret' [-Werror=unused-variable] * src/util/virutil.c (virGetWin32DirectoryRoot): Silence compiler warning. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
0c8926daf9
commit
327d4db83e
@ -1091,7 +1091,6 @@ static int
|
||||
virGetWin32DirectoryRoot(char **path)
|
||||
{
|
||||
char windowsdir[MAX_PATH];
|
||||
int ret = 0;
|
||||
|
||||
*path = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user