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:
Eric Blake 2013-05-28 17:11:48 -06:00
parent 0c8926daf9
commit 327d4db83e

View File

@ -1091,7 +1091,6 @@ static int
virGetWin32DirectoryRoot(char **path) virGetWin32DirectoryRoot(char **path)
{ {
char windowsdir[MAX_PATH]; char windowsdir[MAX_PATH];
int ret = 0;
*path = NULL; *path = NULL;