Skip to content

Commit

Permalink
agg_dda_line.h: initialize member variables (CID 1175284)
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed May 22, 2021
1 parent 48b690a commit cd93051
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions renderers/agg/include/agg_dda_line.h
Expand Up @@ -89,7 +89,7 @@ namespace mapserver
enum save_size_e { save_size = 2 };

//--------------------------------------------------------------------
dda2_line_interpolator() {}
dda2_line_interpolator() = default;

//-------------------------------------------- Forward-adjusted line
dda2_line_interpolator(int y1, int y2, int count) :
Expand Down Expand Up @@ -200,11 +200,11 @@ namespace mapserver
int y() const { return m_y; }

private:
int m_cnt;
int m_lft;
int m_rem;
int m_mod;
int m_y;
int m_cnt = 0;
int m_lft = 0;
int m_rem = 0;
int m_mod = 0;
int m_y = 0;
};


Expand Down

0 comments on commit cd93051

Please sign in to comment.