Closed Bug 1022703 Opened 10 years ago Closed 10 years ago

fix unused variable warning in nsChromeRegistryChrome.cpp

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: froydnj, Unassigned)

Details

Attachments

(1 file)

      No description provided.
The compiler can't seem to see that we'll always go through the while loop at
least once, given the early return for the i == 0 case.  Pacify it by
initializing |entry| instead.
Attachment #8436989 - Flags: review?(benjamin)
Attachment #8436989 - Flags: review?(benjamin) → review+
https://hg.mozilla.org/mozilla-central/rev/842f314466c5
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: