зеркало из https://github.com/mozilla/pjs.git
Fix some build warnings b=228780 p=gautheri@noos.fr r=pinkerton sr=bryner a=choffman
This commit is contained in:
Родитель
1f036900c1
Коммит
3ea5283882
|
@ -83,11 +83,6 @@ const MessageT cmd_Quit = 10; // nil
|
|||
const MessageT cmd_Preferences = 27; // nil
|
||||
|
||||
|
||||
enum
|
||||
{
|
||||
};
|
||||
|
||||
|
||||
enum
|
||||
{
|
||||
menu_First = 128,
|
||||
|
@ -446,10 +441,13 @@ int main(int argc, char **argv)
|
|||
InitializeMacToolbox();
|
||||
#endif
|
||||
|
||||
// Install an a Quit AppleEvent handler.
|
||||
OSErr err = AEInstallEventHandler(kCoreEventClass, kAEQuitApplication,
|
||||
NewAEEventHandlerUPP(handleQuitApplication),
|
||||
0, false);
|
||||
// Install a Quit AppleEvent handler.
|
||||
#ifdef DEBUG
|
||||
OSErr err =
|
||||
#endif
|
||||
AEInstallEventHandler(kCoreEventClass, kAEQuitApplication,
|
||||
NewAEEventHandlerUPP(handleQuitApplication), 0,
|
||||
false);
|
||||
NS_ASSERTION((err==noErr), "AEInstallEventHandler failed");
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
|
|
Загрузка…
Ссылка в новой задаче