Closed
Bug 898016
Opened 13 years ago
Closed 13 years ago
delete unused evlen variable in EventFilter::Build
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: froydnj, Unassigned)
Details
Attachments
(1 file)
|
1.34 KB,
patch
|
mayhemer
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Reporter | ||
Comment 1•13 years ago
|
||
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 2•13 years ago
|
||
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+
Comment 3•13 years ago
|
||
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.
Description
•