Closed Bug 551396 Opened 14 years ago Closed 14 years ago

Remove unused helper-function GetURIHash from nsDocument.cpp

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

Attachments

(1 file)

Mozilla-central currently reports this build warning:

nsDocument.cpp:7335: warning: ‘PRUint32 GetURIHash(nsIURI*)’ defined but not used

Looks like all callers of this method were removed in bug 542592, but the function itself stuck around. It's a static helper function (not a class method), so it's safe to remove.  Filing this bug on removing it.
Attached patch fixSplinter Review
Attachment #431568 - Flags: review?(Olli.Pettay)
Comment on attachment 431568 [details] [diff] [review]
fix

If everything compiles and all, r+
Attachment #431568 - Flags: review?(Olli.Pettay) → review+
Thanks! pushed: http://hg.mozilla.org/mozilla-central/rev/049371106774
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: