Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-60387

Expression is always false

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.2
    • 5.2.0, 5.9.0
    • Core: Plugins
    • None

    Description

      Hello!

      This expression is suspiciously:
      qtablegenerator.cpp

              if (*s <= '0' && *s >= '7')
      

      The value can not be less than '0' and more than 7 at the same time.

      This possible defect found with AppChecker

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rlohning Robert Löhning
            appchecker AppChecker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes