зеркало из https://github.com/mozilla/gecko-dev.git
fixing compiler warning of uninitialized variable resulting from my checkin
for bug 121441
This commit is contained in:
Родитель
0d36604e29
Коммит
3f94575093
|
@ -515,6 +515,9 @@ nsStorageInputStream::Seek(PRInt32 aWhence, PRInt32 aOffset)
|
|||
case NS_SEEK_END:
|
||||
pos = mStorageStream->mLogicalLength + aOffset;
|
||||
break;
|
||||
default:
|
||||
NS_NOTREACHED("unexpected whence value");
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
|
||||
return Seek(pos);
|
||||
|
|
Загрузка…
Ссылка в новой задаче