Skip to content

Commit

Permalink
Fix Coverity uninitialized member warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 25, 2017
1 parent 3c76a07 commit fb66501
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/server/services/wms/qgswmsparameters.h
Expand Up @@ -61,11 +61,11 @@ namespace QgsWms

struct QgsWmsParametersComposerMap
{
int mId; // composer map id
bool mHasExtent; // does the request contains extent for this composer map
int mId = 0; // composer map id
bool mHasExtent = false; // does the request contains extent for this composer map
QgsRectangle mExtent; // the request extent for this composer map
float mScale = -1;
float mRotation;
float mRotation = 0;
float mGridX = 0;
float mGridY = 0;
QList<QgsWmsParametersLayer> mLayers; // list of layers for this composer map
Expand Down

0 comments on commit fb66501

Please sign in to comment.