Fix from katakai@japan.sun.com for bug #58698: Solaris only: cmd_cut operation fails in optimize build
Initialize result with NS_OK in CreateTxnsToDeleteContent(). r=kin@netscape.com sr=sfraser@netscape.com git-svn-id: svn://10.0.0.236/trunk@82526 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -277,7 +277,7 @@ NS_IMETHODIMP DeleteRangeTxn::CreateTxnsToDeleteContent(nsIDOMNode *aParent,
|
||||
PRUint32 aOffset,
|
||||
nsIEditor::EDirection aAction)
|
||||
{
|
||||
nsresult result;
|
||||
nsresult result = NS_OK;
|
||||
// see what kind of node we have
|
||||
nsCOMPtr<nsIDOMCharacterData> textNode;
|
||||
textNode = do_QueryInterface(aParent);
|
||||
|
||||
Reference in New Issue
Block a user