Closed
Bug 1108932
Opened 11 years ago
Closed 11 years ago
dom/security/nsCSPParser.cpp: error: unused variable 'COMMA' [-Werror,-Wunused-const-variable]
Categories
(Core :: DOM: Security, defect)
Tracking
()
RESOLVED
FIXED
mozilla37
People
(Reporter: cpeterson, Assigned: cpeterson)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
2.65 KB,
patch
|
ckerschb
:
review+
|
Details | Diff | Splinter Review |
1. Remove unused COMMA constant to fix -Wunused-const-variable warning-as-error in non-unified build on OS X.
2. Add some more const attributes.
3. Mark some local functions as static.
4. Remove some extra whitespace.
Attachment #8533528 -
Flags: review?(mozilla)
Comment 1•11 years ago
|
||
Comment on attachment 8533528 [details] [diff] [review]
CSPParser_Wunused-const-variable.patch
Review of attachment 8533528 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks Chris! COMMA is part of the RFC production of paths but can only appear pct-encoded. Should have removed it from the list. Thanks again for cleaning that up.
Attachment #8533528 -
Flags: review?(mozilla) → review+
| Comment hidden (off-topic) |
| Comment hidden (off-topic) |
| Comment hidden (off-topic) |
| Comment hidden (off-topic) |
| Assignee | ||
Updated•11 years ago
|
No longer depends on: FAIL_ON_WARNINGS
| Assignee | ||
Comment 6•11 years ago
|
||
Comment 7•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in
before you can comment on or make changes to this bug.
Description
•