Skip to content

Commit

Permalink
Throw in default initializers for MINOPTMAX to silence coverity
Browse files Browse the repository at this point in the history
  • Loading branch information
marekr committed Aug 17, 2022
1 parent 98b3904 commit e67a4c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/core/minoptmax.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ class MINOPTMAX

private:
bool m_isNull;
T m_min;
T m_opt;
T m_max;
T m_min{};
T m_opt{};
T m_max{};
bool m_hasMin = false;
bool m_hasOpt = false;
bool m_hasMax = false;
Expand Down

0 comments on commit e67a4c6

Please sign in to comment.