Closed
Bug 758735
Opened 12 years ago
Closed 12 years ago
TestSettingsAPI.cpp:14:20: warning: ‘gFunction’ defined but not used [-Wunused-variable]
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
patch
|
gwagner
:
review+
|
Details | Diff | Splinter Review |
{
xpcom/tests/TestSettingsAPI.cpp:14:20: warning: ‘gFunction’ defined but not used [-Wunused-variable]
}
This file was added here:
http://hg.mozilla.org/mozilla-central/rev/a0ec06f6c00d
with
> static const char* gFunction = "main";
as an unused variable.
Assignee | ||
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
Comment on attachment 627316 [details] [diff] [review]
fix
Oh I thought this is needed for the test-environment.
Thanks for fixing!
Attachment #627316 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 3•12 years ago
|
||
(Nope -- it's used in a different test-file in the same directory just for logging purposes, not for any functional purpose.)
Thanks for the review!
https://hg.mozilla.org/integration/mozilla-inbound/rev/bc62e10fe692
Target Milestone: --- → mozilla15
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•