Frédéric Delanoy : winex11.drv: Remove dead assignment (Clang).

Alexandre Julliard julliard at winehq.org
Wed Jul 6 13:31:08 CDT 2011


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Wed Jul  6 10:34:44 2011 +0200

winex11.drv: Remove dead assignment (Clang).

---

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

diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c
index 48ecd22..3a4c250 100644
--- a/dlls/winex11.drv/xrender.c
+++ b/dlls/winex11.drv/xrender.c
@@ -660,10 +660,7 @@ static int LookupEntry(LFANDSIZE *plfsz)
 
   for(i = mru; i >= 0; i = glyphsetCache[i].next) {
     TRACE("%d\n", i);
-    if(glyphsetCache[i].count == -1) { /* reached free list so stop */
-      i = -1;
-      break;
-    }
+    if(glyphsetCache[i].count == -1) break; /* reached free list so stop */
 
     if(!fontcmp(&glyphsetCache[i].lfsz, plfsz)) {
       glyphsetCache[i].count++;




More information about the wine-cvs mailing list