зеркало из https://github.com/mozilla/pjs.git
bug 127419 r=rayw sr=jst a=asa
fix build warning in nsDefaultSOAPEncoder.cpp
This commit is contained in:
Родитель
f13b46120a
Коммит
15155e53f7
|
@ -2798,7 +2798,7 @@ NS_IMETHODIMP
|
|||
PRInt32 p;\
|
||||
if (nsSOAPUtils::GetAttribute(aEncoding, aSource, nsSOAPUtils::kSOAPEncURI,\
|
||||
kSOAPArrayPositionAttribute, pos)) {\
|
||||
PRInt32 p = DecodeArrayPosition(pos, dimensionCount, dimensionSizes);\
|
||||
p = DecodeArrayPosition(pos, dimensionCount, dimensionSizes);\
|
||||
if (p == -1) {\
|
||||
rc = NS_ERROR_ILLEGAL_VALUE;\
|
||||
break;\
|
||||
|
|
|
@ -2798,7 +2798,7 @@ NS_IMETHODIMP
|
|||
PRInt32 p;\
|
||||
if (nsSOAPUtils::GetAttribute(aEncoding, aSource, nsSOAPUtils::kSOAPEncURI,\
|
||||
kSOAPArrayPositionAttribute, pos)) {\
|
||||
PRInt32 p = DecodeArrayPosition(pos, dimensionCount, dimensionSizes);\
|
||||
p = DecodeArrayPosition(pos, dimensionCount, dimensionSizes);\
|
||||
if (p == -1) {\
|
||||
rc = NS_ERROR_ILLEGAL_VALUE;\
|
||||
break;\
|
||||
|
|
Загрузка…
Ссылка в новой задаче