Skip to content

Commit 928504a

Browse files
committedSep 30, 2015
fix some warnings
1 parent 2126011 commit 928504a

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed
 

‎src/core/auth/qgsauthmanager.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3049,6 +3049,7 @@ bool QgsAuthManager::reencryptAllAuthenticationSettings( const QString &prevpass
30493049
return true;
30503050
// end remove
30513051

3052+
#if 0
30523053
if ( isDisabled() )
30533054
return false;
30543055

@@ -3123,6 +3124,7 @@ bool QgsAuthManager::reencryptAllAuthenticationSettings( const QString &prevpass
31233124
}
31243125

31253126
return true;
3127+
#endif
31263128
}
31273129

31283130
bool QgsAuthManager::reencryptAllAuthenticationIdentities( const QString &prevpass, const QString &prevciv )

‎src/core/geometry/qgsabstractgeometryv2.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ QgsPointV2 QgsAbstractGeometryV2::centroid() const
227227
{
228228
return QgsPointV2( Cx / ( 3. * A ), Cy / ( 3. * A ) );
229229
}
230-
231-
return QgsPointV2();
232230
}
233231

234232
bool QgsAbstractGeometryV2::isEmpty() const

‎src/core/geometry/qgsgeos.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1652,7 +1652,6 @@ QgsAbstractGeometryV2* QgsGeos::reshapeGeometry( const QgsLineStringV2& reshapeW
16521652
}
16531653
CATCH_GEOS_WITH_ERRMSG( 0 )
16541654
}
1655-
return 0;
16561655
}
16571656

16581657
GEOSGeometry* QgsGeos::reshapeLine( const GEOSGeometry* line, const GEOSGeometry* reshapeLineGeos )

‎src/core/qgsdistancearea.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ double QgsDistanceArea::measure( const QgsAbstractGeometryV2* geomV2 ) const
332332
return area;
333333
}
334334
}
335-
return 0.0;
336335
}
337336

338337
double QgsDistanceArea::measure( const QgsGeometry *geometry ) const

0 commit comments

Comments
 (0)
Please sign in to comment.