Bug 1171020 - Value stored to aLen is never read fixes in nsMultiMixedConv.cpp. r=mcmanus

CLOSED TREE
This commit is contained in:
Sanchit Kumar 2015-06-08 20:44:00 -04:00
parent 305a75a107
commit d19db17d31

View File

@ -1144,6 +1144,8 @@ nsMultiMixedConv::FindToken(char *aCursor, uint32_t aLen) {
if ((*(aCursor-1) == '-') && (*(aCursor-2) == '-')) {
aCursor -= 2;
aLen += 2;
aLen;
// The additional aLen statement above, helps to suppress the compiler warning: "Value stored to 'aLen' is never read".
// we're playing w/ double dash tokens, adjust.
mToken.Assign(aCursor, mTokenLen + 2);