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)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

{ 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.
Attached patch fix (deleted) — Splinter Review
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #627316 - Flags: review?(fabrice)
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+
(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
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.

Attachment

General

Created:
Updated:
Size: