t-artistik / qtscriptgenerator

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

remove unused assignment in pp::eval_expression #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The function parameter __first is passed by value in pp::eval_expression.
So assigning it the return value of eval_constant_expression means that the
assignment is thrown away. Rather then do that, just return the return
value of eval_constant_expression.

Original issue reported on code.google.com by erik.e.h...@jpl.nasa.gov on 23 Nov 2008 at 7:24

Attachments: