Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
This commit is contained in:
@@ -133,8 +133,7 @@ static const char kRBracket[] = "]";
|
||||
nsresult
|
||||
nsINIParser::InitFromFILE(FILE *fd)
|
||||
{
|
||||
if (!mSections.Init())
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
mSections.Init();
|
||||
|
||||
/* get file size */
|
||||
if (fseek(fd, 0, SEEK_END) != 0)
|
||||
|
||||
Reference in New Issue
Block a user