We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author Name: David Binderman (David Binderman) Original Redmine Issue: 9285 Affected QGIS version: 2.0.1
I just ran the static analyser "cppcheck" over the source code of qgis-2.0.1
It said many things, including
qgis-2.0.1/src/gui/qgscomposerview.cpp:226]: (style) Same expression on both sides of '||'.
Source code is
if ( !mRubberBandItem || mRubberBandItem->rect().width() < 0.1 || mRubberBandItem->rect().width() < 0.1 )
Maybe
if ( !mRubberBandItem || mRubberBandItem->rect().width() < 0.1 || mRubberBandItem->rect().height() < 0.1 )
might be better code.
qgis-2.0.1/src/gui/qgscomposerview.cpp:318]: (style) Same expression on both sides of '||'.
Duplicate.
The text was updated successfully, but these errors were encountered:
Author Name: Nyall Dawson (@nyalldawson)
Fixed in changeset "bee12917270c5d286ff0915c727381eb08e9e017".
Sorry, something went wrong.
Good catch -- thanks!
No branches or pull requests
Author Name: David Binderman (David Binderman)
Original Redmine Issue: 9285
Affected QGIS version: 2.0.1
I just ran the static analyser "cppcheck" over the
source code of qgis-2.0.1
It said many things, including
qgis-2.0.1/src/gui/qgscomposerview.cpp:226]: (style) Same expression on both sides of '||'.
Source code is
if ( !mRubberBandItem || mRubberBandItem->rect().width() < 0.1 || mRubberBandItem->rect().width() < 0.1 )
Maybe
if ( !mRubberBandItem || mRubberBandItem->rect().width() < 0.1 || mRubberBandItem->rect().height() < 0.1 )
might be better code.
qgis-2.0.1/src/gui/qgscomposerview.cpp:318]: (style) Same expression on both sides of '||'.
Duplicate.
The text was updated successfully, but these errors were encountered: