From cfeba2c4fdbcbaf683b48eabe7181ab8d030603d Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Sat, 29 May 1999 19:36:55 +0000 Subject: [PATCH] Fixing warnings. --- xpfe/appshell/src/nsWebShellWindow.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xpfe/appshell/src/nsWebShellWindow.cpp b/xpfe/appshell/src/nsWebShellWindow.cpp index b6f2eb0ca13a..fb1e042d9351 100644 --- a/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/xpfe/appshell/src/nsWebShellWindow.cpp @@ -424,6 +424,10 @@ nsWebShellWindow::HandleEvent(nsGUIEvent *aEvent) ((nsWebShellWindow *)data)->Close(); break; } + + default: + break; + } } return nsEventStatus_eIgnore; @@ -706,7 +710,7 @@ void nsWebShellWindow::DynamicLoadMenus(nsIDOMDocument * aDOMDoc, nsIWidget * aP // XXX ok this is somewhat of a kludge but it is needed. When the menu bar is added the client area got smaller // unfortunately the document will already have been flowed. So we need to reflow it to a smaller size. -EDV // BEGIN REFLOW CODE - nsresult rv = NS_ERROR_FAILURE; + rv = NS_ERROR_FAILURE; // do a reflow nsCOMPtr contentViewerContainer;