Snippets for alienblaster 1.1.0 from Fedora s390x
Sourced from https://kojipkgs.fedoraproject.org/packages/alienblaster/1.1.0/43.fc45/data/logs/s390x/build.log.
-
geometry.cc:559:28: warning: ‘dSol1’ may be used uninitialized [-Wmaybe-uninitialized] 559 | posSolution1->setVector2D( dSol1, da*dSol1 + db ); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
geometry.cc:560:28: warning: ‘dSol2’ may be used uninitialized [-Wmaybe-uninitialized] 560 | posSolution2->setVector2D( dSol2, da*dSol2 + db ); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
racer.cc:640:15: warning: variable ‘idxNearestEnemy1’ set but not used [-Wunused-but-set-variable=] 640 | int idxNearestEnemy1 = 0; | ^~~~~~~~~~~~~~~~ -
racer.cc:642:15: warning: variable ‘idxNearestEnemy2’ set but not used [-Wunused-but-set-variable=] 642 | int idxNearestEnemy2 = 0; | ^~~~~~~~~~~~~~~~ -
menuArcadeMode.cc:87:8: warning: enum constant in boolean context [-Wint-in-bool-context] 87 | if ( GS_ARCADE_MODE_FINISHED ) { | ^~~~~~~~~~~~~~~~~~~~~~~ -
menuArcadeMode.cc:339:55: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] 339 | if ( ((SDL_GetModState()) & KMOD_LSHIFT != 0 ) || | ~~~~~~~~~~~~^~~~ -
menuArcadeMode.cc:340:55: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] 340 | ((SDL_GetModState()) & KMOD_RSHIFT != 0 ) ) { | ~~~~~~~~~~~~^~~~ -
formation.cc:91:21: warning: ‘newOne’ may be used uninitialized [-Wmaybe-uninitialized] 91 | enemys->addEnemy( newOne ); | ~~~~~~~~~~~~~~~~^~~~~~~~~~