File js/public/HashTable.h cause warning

RESOLVED FIXED in mozilla12

Status

()

Core
JavaScript Engine
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: hub, Assigned: hub)

Tracking

Trunk
mozilla12
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

6 years ago
When building nightly, I have a lot of warnings caused by js/public/HashTable.h:204

The while(); statement.

Will attach patch to change it to while() { } as to silence the warning while remaining correct.
(Assignee)

Comment 1

6 years ago
Created attachment 584830 [details] [diff] [review]
Fix warning in HashTable.h by using {} instead of ;. r=
(Assignee)

Comment 2

6 years ago
using while() continue; as suggested by Waldo
(Assignee)

Comment 3

6 years ago
Created attachment 584832 [details] [diff] [review]
Fix warning in HashTable.h by using |continue;| instead of |;|. r=
(Assignee)

Updated

6 years ago
Attachment #584830 - Attachment is obsolete: true
(Assignee)

Updated

6 years ago
Attachment #584832 - Attachment is obsolete: true
(Assignee)

Updated

6 years ago
Attachment #584832 - Attachment is obsolete: false
(Assignee)

Updated

6 years ago
Attachment #584832 - Flags: review?
(Assignee)

Updated

6 years ago
Attachment #584832 - Flags: review? → review?(jwalden+bmo)
Attachment #584832 - Flags: review?(jwalden+bmo) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/29dc9bdea5a9
Assignee: general → hub
Status: NEW → ASSIGNED
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: --- → mozilla12
https://hg.mozilla.org/mozilla-central/rev/29dc9bdea5a9
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.