diff options
author | 2013-12-11 15:26:48 +0200 | |
---|---|---|
committer | 2013-12-11 16:29:39 +0100 | |
commit | fbcad200723b36ee613df89775bf28f3503cfec0 (patch) | |
tree | f183e8b9d804d2fcdd20e20ceae8d36ad9572a08 /pref.h | |
parent | f09afad5a0515e2e40a91385d115840bc321697a (diff) | |
download | subsurface-fbcad200723b36ee613df89775bf28f3503cfec0.tar.gz |
profilepgrahics.cpp: fix preceding limit check
ProfileGraphicsView::plot_depth_profile():
The iterator limit check (i < 7) should precede the indexing
(increments[i]).
Reported by the program cppcheck.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'pref.h')
0 files changed, 0 insertions, 0 deletions