Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-2457

Fix Clang-tidy warnings about safelayouttool from QSR tooling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • Future QSR version
    • QSR 2.1
    • Tooling
    • None

    Description

      There are 2 warnings in qtsafelayouttool about the left operand of the subtraction operation being uninitialized or not properly defined.

      "C:\Qt_FINAL_RELEASE_QSR_RC1\Src\QtSafeRenderer-2.1.0\tools\qtsafelayouttool\evaluator\anchorslayout.cpp:72:26: The left operand of '-' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult]"

      and 1 warning about unused QString:

      "C:\Qt_FINAL_RELEASE_QSR_RC1\Src\QtSafeRenderer-2.1.0\tools\qtsafelayouttool\evaluator\item.cpp:99:17: unused QString [clazy-unused-non-trivial-variable]"

      Attachments

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

        Activity

          People

            qtsaferendererteam Qt Safe Renderer Team
            aarotone Aapo Rotonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes