Closed Bug 211193 Opened 21 years ago Closed 21 years ago

[FIXr] random array cleanup in exthandler

Categories

(Core Graveyard :: File Handling, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

Just a twinge of ugly code in my side.
Attached patch patchSplinter Review
Attachment #126801 - Flags: superreview?(alecf)
Attachment #126801 - Flags: review?(cbiesinger)
Comment on attachment 126801 [details] [diff] [review]
patch

+  nsILocalFile* localFile;

hm... why are you declaring this variable outside of the loop?
Comment on attachment 126801 [details] [diff] [review]
patch

+  nsILocalFile* localFile;

hm... why are you declaring this variable outside of the loop?
Because that's where the original code had it, if you note....
Comment on attachment 126801 [details] [diff] [review]
patch

r=biesi if you move the "+  nsILocalFile* localFile;" declaration when this
variable is first used, to not make it look like this variable is used outside
the  |for|
Attachment #126801 - Flags: review?(cbiesinger) → review+
Comment on attachment 126801 [details] [diff] [review]
patch

nice. sr=alecf
Attachment #126801 - Flags: superreview?(alecf) → superreview+
Summary: [FIX] random array cleanup in exthandler → [FIXr] random array cleanup in exthandler
Checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: