From 010367b83d8c253057306147ce41dceba975ffdf Mon Sep 17 00:00:00 2001 From: "attinasi%netscape.com" Date: Mon, 31 Jan 2000 13:54:39 +0000 Subject: [PATCH] Removed unused argument statements for elimination of warnings. No functional changes. git-svn-id: svn://10.0.0.236/trunk@59247 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/document/src/nsImageDocument.cpp | 10 ++-------- mozilla/layout/html/document/src/nsImageDocument.cpp | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/mozilla/content/html/document/src/nsImageDocument.cpp b/mozilla/content/html/document/src/nsImageDocument.cpp index 4f0e137d27c..d923d9b9f5b 100644 --- a/mozilla/content/html/document/src/nsImageDocument.cpp +++ b/mozilla/content/html/document/src/nsImageDocument.cpp @@ -328,14 +328,8 @@ nsImageDocument::EndLayout(nsISupports *ctxt, nsresult status, const PRUnichar *errorMsg) { - // unused... - ctxt; - status; - errorMsg; - - // title was being set here but this is never called... - // (see UpdateTitle: work is done there now) - + // We are being told to stop the layout (in the middle of image loading) + // - nothing to do here... return NS_OK; } diff --git a/mozilla/layout/html/document/src/nsImageDocument.cpp b/mozilla/layout/html/document/src/nsImageDocument.cpp index 4f0e137d27c..d923d9b9f5b 100644 --- a/mozilla/layout/html/document/src/nsImageDocument.cpp +++ b/mozilla/layout/html/document/src/nsImageDocument.cpp @@ -328,14 +328,8 @@ nsImageDocument::EndLayout(nsISupports *ctxt, nsresult status, const PRUnichar *errorMsg) { - // unused... - ctxt; - status; - errorMsg; - - // title was being set here but this is never called... - // (see UpdateTitle: work is done there now) - + // We are being told to stop the layout (in the middle of image loading) + // - nothing to do here... return NS_OK; }