Closed Bug 603334 Opened 14 years ago Closed 14 years ago

useless dereference of str for *str++ in RecordToken

Categories

(Core :: Graphics, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug)

Details

(Keywords: coverity)

Attachments

(1 file)

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: nobody → timeless
Status: NEW → ASSIGNED
Needs to be filed at http://code.google.com/p/angleproject/ -- please file further ANGLE bugs there.
this was integrated
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: