oizma / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

useless dereference of str for *str++ in RecordToken #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run Coverity on mozilla-central from something after 
http://hg.mozilla.org/mozilla-central/rev/582be9aca672

What is the expected output?
no useless operation warnings in RecordToken

What do you see instead?
warning that the result of *str++ is unused

What version of the product are you using?
r367

On what operating system?
Linux with Coverity 4.5

Please provide any additional information below.
This changes the code to match CPP_STRCONSTANT

Original issue reported on code.google.com by timel...@gmail.com on 12 Oct 2010 at 4:58

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by alokp@chromium.org on 13 Oct 2010 at 9:35

GoogleCodeExporter commented 9 years ago
Fixed in r450.

Original comment by alokp@chromium.org on 14 Oct 2010 at 4:19