The default bug view has changed. See this FAQ.

GCC 4.6 warning: nsScanner.cpp:305:25: warning: variable ‘start’ set but not used [-Wunused-but-set-variable]

RESOLVED FIXED in mozilla7

Status

()

Core
HTML: Parser
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: dholbert, Assigned: dholbert)

Tracking

Trunk
mozilla7
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [build_warning])

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
When building with GCC 4.6:
nsScanner.cpp: In member function ‘nsresult nsScanner::Append(const char*, PRUint32, nsIRequest*)’:
nsScanner.cpp:305:25: warning: variable ‘start’ set but not used [-Wunused-but-set-variable]
(Assignee)

Comment 1

6 years ago
Created attachment 541469 [details] [diff] [review]
fix
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #541469 - Flags: review?(hsivonen)
Comment on attachment 541469 [details] [diff] [review]
fix

Seems safe enough for me to r+ this though this is mrbkap's area.
Attachment #541469 - Flags: review?(hsivonen) → review+
(Assignee)

Comment 3

6 years ago
http://hg.mozilla.org/integration/mozilla-inbound/rev/13b3cfa7f224
Whiteboard: [build_warning] → [build_warning][inbound]
http://hg.mozilla.org/mozilla-central/rev/13b3cfa7f224
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: [build_warning][inbound] → [build_warning]

Updated

6 years ago
Target Milestone: --- → mozilla7
You need to log in before you can comment on or make changes to this bug.