Closed Bug 898016 Opened 13 years ago Closed 13 years ago

delete unused evlen variable in EventFilter::Build

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: froydnj, Unassigned)

Details

Attachments

(1 file)

No description provided.
GCC says: /home/froydnj/src/mozilla-central-official/xpcom/base/VisualEventTracer.cpp: In static member function 'static mozilla::eventtracer::(anonymous namespace)::EventFilter* mozilla::eventtracer::(anonymous namespace)::EventFilter::Build(char const*)': /home/froydnj/src/mozilla-central-official/xpcom/base/VisualEventTracer.cpp:354:7: warning: unused variable 'evlen' [-Wunused-variable] I *think* you don't really need this because of sscanf fanciness in limiting how long the string it's looking for is.
Attachment #781046 - Flags: review?(honzab.moz)
Comment on attachment 781046 [details] [diff] [review] delete unused evlen variable in EventFilter::Build Review of attachment 781046 [details] [diff] [review]: ----------------------------------------------------------------- Yes, also not needed. Leftover from NSPR code I've copied from prlog.c.
Attachment #781046 - Flags: review?(honzab.moz) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: