Skip to content

Commit 16bfcff

Browse files
committedJul 24, 2018
Fix valgrind conditional jump on uninitialized value warning
(cherry-picked from b58f194)
1 parent bfafa8d commit 16bfcff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/providers/wms/qgswmscapabilities.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ struct QgsWmsServiceProperty
139139
QgsWmsContactInformationProperty contactInformation;
140140
QString fees;
141141
QString accessConstraints;
142-
uint layerLimit;
143-
uint maxWidth;
144-
uint maxHeight;
142+
uint layerLimit = 0;
143+
uint maxWidth = 0;
144+
uint maxHeight = 0;
145145
};
146146

147147
//! Bounding Box Property structure

0 commit comments

Comments
 (0)
Please sign in to comment.