Skip to content

Commit

Permalink
agg_scanline_storage_aa.h: initialize member variable (CID 1175307)
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed May 22, 2021
1 parent a642754 commit b60eb89
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions renderers/agg/include/agg_scanline_storage_aa.h
Expand Up @@ -607,7 +607,7 @@ namespace mapserver


//-----------------------------------------------------------------
embedded_scanline() : m_ptr(0), m_y(0), m_num_spans(0) {}
embedded_scanline() = default;

//-----------------------------------------------------------------
void reset(int, int) {}
Expand Down Expand Up @@ -639,10 +639,10 @@ namespace mapserver
}

private:
const int8u* m_ptr;
int m_y;
unsigned m_num_spans;
int m_dx;
const int8u* m_ptr = nullptr;
int m_y = 0;
unsigned m_num_spans = 0;
int m_dx = 0;
};


Expand Down

0 comments on commit b60eb89

Please sign in to comment.