From a80b0a650ef0115c7bf179db5723cf5dce49b13a Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Sat, 6 May 2006 22:38:15 +0000 Subject: [PATCH] Bug 334191 EncodeArray has nested rc variables r=doron sr=bz --- extensions/webservices/soap/src/nsDefaultSOAPEncoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/webservices/soap/src/nsDefaultSOAPEncoder.cpp b/extensions/webservices/soap/src/nsDefaultSOAPEncoder.cpp index 53adf65f8297..5be1c93ae608 100644 --- a/extensions/webservices/soap/src/nsDefaultSOAPEncoder.cpp +++ b/extensions/webservices/soap/src/nsDefaultSOAPEncoder.cpp @@ -1254,7 +1254,7 @@ static nsresult EncodeArray(nsISOAPEncoding* aEncoding, nsIVariant* aSource, nsI PRUint32 count; void *array; if (aSource != nsnull) { - nsresult rc = aSource->GetDataType(&type); + rc = aSource->GetDataType(&type); NS_ENSURE_SUCCESS(rc, rc); if (type == nsIDataType::VTYPE_EMPTY ||