Remove variable changed which is not really used from ME_PrepareParagraphForWrapping.

Gerald Pfeifer gerald at pfeifer.com
Sat May 1 15:35:31 CDT 2010


---
 dlls/riched20/wrap.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/riched20/wrap.c b/dlls/riched20/wrap.c
index 3b15490..790c280 100644
--- a/dlls/riched20/wrap.c
+++ b/dlls/riched20/wrap.c
@@ -578,14 +578,12 @@ static void ME_PrepareParagraphForWrapping(ME_Context *c, ME_DisplayItem *tp) {
   }
   /* join runs that can be joined, set up flags */
   for (p = tp->next; p!=tp->member.para.next_para; p = p->next) {
-    int changed = 0;
     switch(p->type) {
       case diStartRow: assert(0); break; /* should have deleted it */
       case diRun:
         while (p->next->type == diRun) { /* FIXME */
           if (ME_CanJoinRuns(&p->member.run, &p->next->member.run)) {
             ME_JoinRuns(c->editor, p);
-            changed = 1;
           }
           else
             break;
-- 
1.6.6.2



More information about the wine-patches mailing list