Skip to content

Commit d03c418

Browse files
committed
More pointless warnings.
1 parent c0d306e commit d03c418

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

alg/viewshed/viewshed_executor.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ struct Lines
3939
pitchMask; //!< Height/indicator values for pitch masking.
4040

4141
/// Constructor
42-
Lines()
42+
Lines() : cur(), result(), prev(), pitchMask()
4343
{
4444
}
4545

4646
/// Constructor that initializes to line length
4747
/// \param lineLen Line length.
48-
explicit Lines(size_t lineLen) : cur(lineLen), result(lineLen)
48+
explicit Lines(size_t lineLen)
49+
: cur(lineLen), result(lineLen), prev(), pitchMask()
4950
{
5051
}
5152
};

0 commit comments

Comments
 (0)