mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 603292 - PRUint32 countU < 0 is useless in nsHTMLEditor::AddNewStyleSheetToList; r=roc a=bsmedberg
This commit is contained in:
parent
30d74d6e09
commit
6614f7792e
@ -3647,7 +3647,7 @@ nsHTMLEditor::AddNewStyleSheetToList(const nsAString &aURL,
|
||||
PRUint32 countSS = mStyleSheets.Length();
|
||||
PRUint32 countU = mStyleSheetURLs.Length();
|
||||
|
||||
if (countU < 0 || countSS != countU)
|
||||
if (countSS != countU)
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
|
||||
if (!mStyleSheetURLs.AppendElement(aURL))
|
||||
|
Loading…
x
Reference in New Issue
Block a user