Fix CID991133: Same if expression was duplicated

This commit is contained in:
Siarzhuk Zharski 2013-04-05 17:08:44 +02:00
parent 4755a0794e
commit 0d75239fb7

View File

@ -936,7 +936,7 @@ MimeType::_Dump(const char* mimetype) throw (Error)
_DumpIcon((uint8*) fBigIcon->Bits(), fBigIcon->BitsLength());
}
if (fVectorIcon != NULL && fVectorIcon != NULL) {
if (fVectorIcon != NULL && fVectorIconSize != 0) {
cout << " \\" << endl << "\t" << kVectorIcon << " ";
_DumpIcon((uint8*) fVectorIcon, fVectorIconSize);
}