Kaydet (Commit) 22893084 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: use of logical '&&' with constant operand

üst 08773910
......@@ -2176,7 +2176,7 @@ void AnimationImporter::importCommandContainer( const Atom* pAtom, const Referen
mrStCtrl >> nBits;
mrStCtrl >> nCommandType;
if( nBits && 1 )
if( nBits & 1 )
{
dump( " type=\"%s\"", (nCommandType == 0) ? "event" : ( nCommandType == 1) ? "call" : "verb" );
}
......@@ -2187,7 +2187,7 @@ void AnimationImporter::importCommandContainer( const Atom* pAtom, const Referen
{
if ( importAttributeValue( pChildAtom, aValue ) )
{
if( nBits && 2 )
if( nBits & 2 )
{
dump( " cmd=\"" );
dump( aValue );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment