Alexandre Julliard : spoolss: Remove an unused variable.

Alexandre Julliard julliard at winehq.org
Tue Nov 8 12:23:09 CST 2011


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Nov  8 09:51:59 2011 +0100

spoolss: Remove an unused variable.

---

 dlls/spoolss/router.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/spoolss/router.c b/dlls/spoolss/router.c
index 1fcf628..3d239b4 100644
--- a/dlls/spoolss/router.c
+++ b/dlls/spoolss/router.c
@@ -266,13 +266,12 @@ static backend_t * backend_load(LPWSTR dllname, LPWSTR name, LPWSTR regroot)
 BOOL backend_load_all(void)
 {
     static BOOL failed = FALSE;
-    backend_t * pb;
 
     EnterCriticalSection(&backend_cs);
 
     /* if we failed before, don't try again */
     if (!failed && (used_backends == 0)) {
-        pb = backend_load(localsplW, NULL, NULL);
+        backend_load(localsplW, NULL, NULL);
 
         /* ToDo: parse the registry and load all other backends */
 




More information about the wine-cvs mailing list