https://bugs.kde.org/show_bug.cgi?id=366135

            Bug ID: 366135
           Summary: audex-0.79: read uninit data ?
           Product: kde
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: dcb...@hotmail.com

utils/patternparser.cpp:221]: (error) Uninitialized variable: ok

Source code is

        bool ok;
        if (!atts.value("x").isEmpty()) x = atts.value("x").toInt(&ok);
        if (!ok) x = -1;

Also,

utils/patternparser.cpp:234]: (style) Redundant condition: cover. '!cover ||
(cover && cover.isEmpty())' is equivalent to '!cover || cover.isEmpty()'


Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to