Closed Bug 1119232 Opened 5 years ago Closed 5 years ago

Fix a warning for the usage of the uninitialized gc member in JSRuntime's constructor; r=jandem

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla37

People

(Reporter: ehsan, Assigned: ehsan)

Details

Attachments

(1 file)

clang emits the following warning on this code:
warning: field 'gc' is uninitialized when used here [-Wuninitialized]

The warning is not an indication of a real bug since we're just taking the store
buffer's address, but we may as well silence it.
Assignee: nobody → ehsan
Comment on attachment 8545928 [details] [diff] [review]
Fix a warning for the usage of the uninitialized gc member in JSRuntime's constructor

Review of attachment 8545928 [details] [diff] [review]:
-----------------------------------------------------------------

Seems reasonable to silence the warning.
Attachment #8545928 - Flags: review?(jdemooij) → review+
https://hg.mozilla.org/mozilla-central/rev/b2cf412dad7a
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in before you can comment on or make changes to this bug.