[poppler] qt4/src

Albert Astals Cid aacid at kemper.freedesktop.org
Sun Oct 4 15:23:39 PDT 2009


 qt4/src/poppler-annotation.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7fd8bdfa450db4e323e4e5d12159359fbc47f9ed
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Oct 5 00:21:15 2009 +0200

    Remove spurious ;
    
    Found by -Wextra i think we should add more warnings to our default flags

diff --git a/qt4/src/poppler-annotation.cc b/qt4/src/poppler-annotation.cc
index 26e475b..b8b6a52 100644
--- a/qt4/src/poppler-annotation.cc
+++ b/qt4/src/poppler-annotation.cc
@@ -237,7 +237,7 @@ Annotation::Annotation( AnnotationPrivate &dd, const QDomNode &annNode )
         rev.annotation = AnnotationUtils::createAnnotation( revElement );
 
         // if annotation is valid, add revision to internal list
-        if ( rev.annotation );
+        if ( rev.annotation )
             d->revisions.append( rev );
     }
 }


More information about the poppler mailing list