From ada2d38770f292e28275089774e212eeff7570d3 Mon Sep 17 00:00:00 2001 From: "bryner%uiuc.edu" Date: Thu, 16 Nov 2000 02:13:30 +0000 Subject: [PATCH] Trivial change, missing "return". r/sr/a=sfraser. git-svn-id: svn://10.0.0.236/trunk@82672 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/base/nsHTMLEditRules.cpp | 2 +- mozilla/editor/libeditor/html/nsHTMLEditRules.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/editor/base/nsHTMLEditRules.cpp b/mozilla/editor/base/nsHTMLEditRules.cpp index 35fd0e8f04f..77dc5190faf 100644 --- a/mozilla/editor/base/nsHTMLEditRules.cpp +++ b/mozilla/editor/base/nsHTMLEditRules.cpp @@ -4971,7 +4971,7 @@ nsHTMLEditRules::FindNearSelectableNode(nsIDOMNode *aSelNode, nsresult nsHTMLEditRules::InDifferentTableElements(nsIDOMNode *aNode1, nsIDOMNode *aNode2, PRBool *aResult) { - if (!aNode1 || !aNode2 || !aResult) NS_ERROR_NULL_POINTER; + if (!aNode1 || !aNode2 || !aResult) return NS_ERROR_NULL_POINTER; nsCOMPtr tn1, tn2, node = aNode1, temp; diff --git a/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp b/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp index 35fd0e8f04f..77dc5190faf 100644 --- a/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp @@ -4971,7 +4971,7 @@ nsHTMLEditRules::FindNearSelectableNode(nsIDOMNode *aSelNode, nsresult nsHTMLEditRules::InDifferentTableElements(nsIDOMNode *aNode1, nsIDOMNode *aNode2, PRBool *aResult) { - if (!aNode1 || !aNode2 || !aResult) NS_ERROR_NULL_POINTER; + if (!aNode1 || !aNode2 || !aResult) return NS_ERROR_NULL_POINTER; nsCOMPtr tn1, tn2, node = aNode1, temp;