Compiler warning fixes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37253 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Wim van der Meer
2010-06-25 13:31:17 +00:00
parent 0c9f5a026f
commit fc86770ba9
3 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -17,6 +17,7 @@
#include "ZipOMaticWindow.h" #include "ZipOMaticWindow.h"
#undef B_TRANSLATE_CONTEXT
#define B_TRANSLATE_CONTEXT "file:ZipOMatic.cpp" #define B_TRANSLATE_CONTEXT "file:ZipOMatic.cpp"
@@ -84,13 +85,14 @@ ZipOMatic::MessageReceived(BMessage* message)
case ZIPPO_QUIT_OR_CONTINUE: case ZIPPO_QUIT_OR_CONTINUE:
{ {
int32 button; int32 button;
if (message->FindInt32("which", &button) == B_OK) if (message->FindInt32("which", &button) == B_OK) {
if (button == 0) { if (button == 0) {
_StopZipping(); _StopZipping();
} else { } else {
if (CountWindows() == 0) if (CountWindows() == 0)
Quit(); Quit();
} }
}
break; break;
} }
@@ -33,6 +33,7 @@
#include "ZipperThread.h" #include "ZipperThread.h"
#undef B_TRANSLATE_CONTEXT
#define B_TRANSLATE_CONTEXT "file:ZipOMaticWindow.cpp" #define B_TRANSLATE_CONTEXT "file:ZipOMaticWindow.cpp"
@@ -27,6 +27,7 @@
#include "ZipOMaticWindow.h" #include "ZipOMaticWindow.h"
#undef B_TRANSLATE_CONTEXT
#define B_TRANSLATE_CONTEXT "file:ZipperThread.cpp" #define B_TRANSLATE_CONTEXT "file:ZipperThread.cpp"