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

            Bug ID: 364695
           Summary: git master 2016-06-24 - Small compiler warning..
           Product: kdenlive
           Version: unspecified
          Platform: Other
                OS: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: User Interface
          Assignee: j...@kdenlive.org
          Reporter: evert.vors...@yandex.com

Gcc 6 comes with warnings when indentation is misleading in code. While the
code is working properly, this might cause a bug later, as the code is not
doing what the indentation suggests:


[ 76%] Building CXX object src/CMakeFiles/kdenlive.dir/monitor/recmanager.cpp.o
[ 76%] Building CXX object src/CMakeFiles/kdenlive.dir/monitor/recmonitor.cpp.o
/tmp/yaourt-tmp-evert/aur-kdenlive-git/src/kdenlive/src/monitor/recmonitor.cpp:
In member function ‘void RecMonitor::slotRecord()’:
/tmp/yaourt-tmp-evert/aur-kdenlive-git/src/kdenlive/src/monitor/recmonitor.cpp:725:9:
warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (!KdenliveSettings::grab_parameters().simplified().isEmpty())
         ^~
/tmp/yaourt-tmp-evert/aur-kdenlive-git/src/kdenlive/src/monitor/recmonitor.cpp:727:6:
note: ...this statement, but the latter is misleadingly indented as if it is
guarded by the ‘if’
      m_captureArgs << path;
      ^~~~~~~~~~~~~
[ 76%] Building CXX object src/CMakeFiles/kdenlive.dir/monitor/smallruler.cpp.o


Reproducible: Always

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

Reply via email to