Merge pull request #557 from Pan7/fixCommon

Fix warning variable bcHeight is used uninitialized
This commit is contained in:
Pan7 2017-08-18 12:05:26 +02:00 committed by GitHub
commit ff878eaee2

View file

@ -755,6 +755,7 @@ void LoadBMP( const char *filename, byte **pic, byte **palette, int *width, int
}
else {
Error( "%s had strange struct size", filename );
return;
}
if ( bcPlanes != 1 ) {