Author: coolo Date: Thu Nov 15 08:53:38 2007 New Revision: 7821 URL: http://svn.opensuse.org/viewcvs/zypp?rev=7821&view=rev Log: gcc 4.3 spot an interesting bug Modified: trunk/libzypp-testsuite/src/helix/HelixParser.cc Modified: trunk/libzypp-testsuite/src/helix/HelixParser.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp-testsuite/src/helix/HelixParser.cc?rev=7821&r1=7820&r2=7821&view=diff ============================================================================== --- trunk/libzypp-testsuite/src/helix/HelixParser.cc (original) +++ trunk/libzypp-testsuite/src/helix/HelixParser.cc Thu Nov 15 08:53:38 2007 @@ -119,7 +119,7 @@ else if (attr == "release") drelease = value; else if (attr == "arch") darch = value; else if (attr == "obsoletes") *is_obsolete = true; - else if (attr == "pre") if (value == "1") *is_pre = true; + else if (attr == "pre") { if (value == "1") *is_pre = true; } else { _DBG("HelixParser") << "! Unknown attribute: " << attr << " = " << value << endl; } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org