From f070557a7b4be90e387895a0bf8b3d06bd055361 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Fri, 17 Sep 1999 20:15:09 +0000 Subject: [PATCH] Squish a warning --- content/events/src/nsDOMEvent.cpp | 2 +- layout/events/src/nsDOMEvent.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/events/src/nsDOMEvent.cpp b/content/events/src/nsDOMEvent.cpp index 4705fd0080d..32178ba44b5 100644 --- a/content/events/src/nsDOMEvent.cpp +++ b/content/events/src/nsDOMEvent.cpp @@ -539,7 +539,7 @@ NS_METHOD nsDOMEvent::GetWhich(PRUint32* aWhich) case NS_MOUSE_EVENT: { PRUint16 button; - nsresult ret = GetButton(&button); + (void) GetButton(&button); *aWhich = button; } } diff --git a/layout/events/src/nsDOMEvent.cpp b/layout/events/src/nsDOMEvent.cpp index 4705fd0080d..32178ba44b5 100644 --- a/layout/events/src/nsDOMEvent.cpp +++ b/layout/events/src/nsDOMEvent.cpp @@ -539,7 +539,7 @@ NS_METHOD nsDOMEvent::GetWhich(PRUint32* aWhich) case NS_MOUSE_EVENT: { PRUint16 button; - nsresult ret = GetButton(&button); + (void) GetButton(&button); *aWhich = button; } }