]> Devoid-pointer.net GitWeb - anyanka.git/commitdiff
Note that a missing break in a switch statement is not a bug in this
authorMichal Malý <madcatxster@devoid-pointer.net>
Mon, 30 Jun 2014 00:12:46 +0000 (02:12 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Mon, 30 Jun 2014 00:12:46 +0000 (02:12 +0200)
case.

datamanager.cpp

index 92fc85c0fea577e14741d6f0430f5c857adcd34f..3f46f2a44acd52a5218cf7c95d5c414fb2164579 100644 (file)
@@ -77,6 +77,7 @@ void DataManager::saveUserDataOnExit()
           switch (ret) {
           case QMessageBox::YesToAll:
             c = Choice::YESTOALL;
+            /* Missing break here is not a bug */
           case QMessageBox::Yes:
             sr->saveUserDataToJSON();
             break;