winex11.drv: Move a conditionally used label into the condition in in X11DRV_XRender_Init.

Gerald Pfeifer gerald at pfeifer.com
Sat Nov 26 16:34:52 CST 2011


This addresses a warning (correctly) issued by GCC.

Gerald

---
 dlls/winex11.drv/xrender.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c
index f6b19ba..ebbf9fc 100644
--- a/dlls/winex11.drv/xrender.c
+++ b/dlls/winex11.drv/xrender.c
@@ -427,9 +427,10 @@ const struct gdi_dc_funcs *X11DRV_XRender_Init(void)
         fontconfig_installed = pFcInit();
     }
     else TRACE( "cannot find the fontconfig library " SONAME_LIBFONTCONFIG "\n" );
-#endif
 
 sym_not_found:
+#endif
+
     glyphsetCache = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
                               sizeof(*glyphsetCache) * INIT_CACHE_SIZE);
 
-- 
1.7.7.3



More information about the wine-patches mailing list