Gerald Pfeifer : riched20: Remove variable changed which is not really used from ME_PrepareParagraphForWrapping .

Alexandre Julliard julliard at winehq.org
Mon May 3 11:54:09 CDT 2010


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat May  1 22:35:31 2010 +0200

riched20: Remove variable changed which is not really used from ME_PrepareParagraphForWrapping.

---

 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;




More information about the wine-cvs mailing list