Menu

Unused private function false positive

Fraser
2019-08-17
2019-08-18
  • Fraser

    Fraser - 2019-08-17

    I have a function with this line so the function ConvertSampleToTrigonometryRange is definitely called somewhere. Does this look like anything already reported?

    double const shiftedRadian= std::asin(ConvertSampleToTrigonometryRange()) + phaseShift_;

     
  • Daniel Marjamäki

    no I do not think so.. can you create a ticket?

     
  • Fraser

    Fraser - 2019-08-18

    https://trac.cppcheck.net/ticket/9282

    The bug is triggered by using the shorthand notation for the return type of function declarations.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.