[mythtv-commits] Ticket #13064: MythRect::NormRect does not use result of normalized()
MythTV
noreply at mythtv.org
Mon Jul 10 09:56:55 UTC 2017
#13064: MythRect::NormRect does not use result of normalized()
-------------------------------------------------+-------------------------
Reporter: stuarta | Owner: stuarta
Type: Bug Report - General | Status: new
Priority: minor | Milestone: 29.0
Component: MythTV - User Interface Library | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
-------------------------------------------------+-------------------------
This is an error that flags up on the build network
{{{
mythrect.cpp: In member function ‘void MythRect::NormRect()’:
mythrect.cpp:115:16: warning: ignoring return value of ‘QRect
QRect::normalized() const’, declared with attribute warn_unused_result
[-Wunused-result]
normalized();
^
In file included from /usr/include/qt5/QtCore/QRect:1:0,
from mythrect.h:4,
from mythrect.cpp:4:
/usr/include/qt5/QtCore/qrect.h:69:11: note: declared here
QRect normalized() const Q_DECL_NOTHROW Q_REQUIRED_RESULT;
^~~~~~~~~~
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13064>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list