useless dereference of str for *str++ in RecordToken

RESOLVED FIXED

Status

()

--
trivial
RESOLVED FIXED
8 years ago
5 months ago

People

(Reporter: timeless, Assigned: timeless)

Tracking

(Blocks: 1 bug, {coverity})

Trunk
coverity
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
205 void RecordToken(TokenStream *pTok, int token, yystypepp * yylvalpp)

214     switch (token) {
224     case CPP_INTCONSTANT:
226          while (*str){
228             *str++;

*str++ could just be ++str ....
(Assignee)

Comment 1

8 years ago
Created attachment 482488 [details] [diff] [review]
make the code match CPP_STRCONSTANT
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Needs to be filed at http://code.google.com/p/angleproject/ -- please file further ANGLE bugs there.
(Assignee)

Comment 3

8 years ago
this was integrated
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.