Closed Bug 925066 Opened 11 years ago Closed 11 years ago

Remove unused "#include nsDebug.h" from nsAlgorithm.h

Categories

(Core :: XPCOM, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

Attachments

(1 file)

nsAlgorithm.h contains:
> 14 #ifndef nsDebug_h___
> 15 #include "nsDebug.h"
> 16   // for NS_ASSERTION
> 17 #endif
http://mxr.mozilla.org/mozilla-central/source/xpcom/string/public/nsAlgorithm.h#14

There are, however, no usages of NS_ASSERTION in that file. The last usages were removed in 2008, in bug 282083's patch.

So, we can drop the #include.
Attached patch fix v1Splinter Review
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #815041 - Flags: review?(jst)
Attachment #815041 - Flags: review?(jst) → review+
https://hg.mozilla.org/mozilla-central/rev/bf817ca7c19a
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: