Alexandre Julliard : setupapi: Fix a compiler warning.

Alexandre Julliard julliard at winehq.org
Wed Sep 2 09:30:43 CDT 2009


Module: wine
Branch: master
Commit: 838823b00866752689457dec3927afe4d8f78bbd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=838823b00866752689457dec3927afe4d8f78bbd

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Sep  2 11:52:57 2009 +0200

setupapi: Fix a compiler warning.

---

 dlls/setupapi/fakedll.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/setupapi/fakedll.c b/dlls/setupapi/fakedll.c
index 51d7790..1b39d2e 100644
--- a/dlls/setupapi/fakedll.c
+++ b/dlls/setupapi/fakedll.c
@@ -375,6 +375,7 @@ static void *load_fake_dll( const WCHAR *name, unsigned int *size, void *buf, un
         ptr = prepend( ptr, path, strlen(path) );
         if ((fd = open( ptr, O_RDONLY | O_BINARY )) != -1) goto found;
     }
+    goto done;
 
 found:
     if (!fstat( fd, &st ))




More information about the wine-cvs mailing list