diff options
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r-- | src/graph_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index f63c57127..10779502d 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -200,6 +200,8 @@ protected: */ ValuesInterval GetValuesInterval(int num_hori_lines) const { + assert(num_hori_lines > 0); + ValuesInterval current_interval; current_interval.highest = INT64_MIN; current_interval.lowest = INT64_MAX; |