diff --git a/sprout/algorithm/cxx14/sort.hpp b/sprout/algorithm/cxx14/sort.hpp index ef14a3a6..b336869b 100644 --- a/sprout/algorithm/cxx14/sort.hpp +++ b/sprout/algorithm/cxx14/sort.hpp @@ -222,7 +222,7 @@ namespace sprout { --lm1; unsigned n_swaps = 0; { - difference_type delta; + difference_type delta = 0; if (len >= 1000) { delta = len / 2; m += delta;