[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/khtml-svg/rendering
From:       Nikolas Zimmermann <wildfox () kde ! org>
Date:       2006-03-28 15:30:44
Message-ID: 1143559844.232880.12016.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 523589 by wildfox:

No more reports of 'uninitialized variables' in valgrind.
Hm WebCore doesn't have this initialization, though.

Anyway, as this is right, initialize and make valgrind happy :-)


 M  +3 -0      render_svg_style.h  


--- branches/work/khtml-svg/rendering/render_svg_style.h #523588:523589
@@ -183,6 +183,9 @@
 
         void setBitDefaults()
         {
+            svg_inherited_flags._iflags = 0L; // Keep valgrind happy!
+            svg_noninherited_flags._niflags = 0L; // Keep valgrind happy!
+
             svg_inherited_flags.f._clipRule = initialClipRule();
             svg_inherited_flags.f._colorRendering = initialColorRendering();
             svg_inherited_flags.f._fillRule = initialFillRule();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic