From b22153180ad12d6b6a09b0f83afb58aa029890df Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Sun, 15 Sep 2019 11:27:31 -0400 Subject: [PATCH] default pane_corner to fix unahdled_switch_case due to uninitialized memory --- include/xlnt/worksheet/selection.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xlnt/worksheet/selection.hpp b/include/xlnt/worksheet/selection.hpp index f88519d4..e831490f 100644 --- a/include/xlnt/worksheet/selection.hpp +++ b/include/xlnt/worksheet/selection.hpp @@ -155,7 +155,7 @@ private: /// /// The corner of the worksheet that this selection extends to /// - pane_corner pane_; + pane_corner pane_ = pane_corner::top_left; }; } // namespace xlnt