Fix the only static analysis issue left

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fix the only static analysis issue left

dxli
The logic seems to be correct in code, but static analysis keeps reporting this issue:

http://librecad.github.io/static-analyzer-reports/

I suppose there's one elegant way to silence the warning and IMPROVE the code.
Reply | Threaded
Open this post in threaded view
|

Re: Fix the only static analysis issue left

ravas
Could it be because common.pri is included, which sets C++11?
https://github.com/LibreCAD/LibreCAD/blob/master/plugins/importshp/importshp.pro

...since it is a .c file?