Menu

False-positive uninitialized variable (using &)

2020-05-29
2020-05-30
  • Ranier Vilela

    Ranier Vilela - 2020-05-29

    Cppcheck is reporting uninitialized variable, where it shouldn't.
    I have seen several false positives, using &.
    I did some tests, but I'm not sure if they are correct.

     
  • Daniel Marjamäki

    Thanks! I have the feeling it's best to fix this step by step.. I created https://trac.cppcheck.net/ticket/9752 to start with.

     

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.