summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-06-30 20:12:11 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-06-30 20:12:11 -0700
commit4033625567eafbb2c3c69da9189a0b0c87b74abc (patch)
tree6f7c5a4d54d8da9c839dda0dd8a81e11d801669b /Makefile
parent03174992a8617c9fa3428583713c2e3e12d293a7 (diff)
downloadsubsurface-4033625567eafbb2c3c69da9189a0b0c87b74abc.tar.gz
Fix a couple of possible divide-by-zero conditions in statistics
Several people reported the average time problem, but there's another one lurking there too: if the dive duration is zero, you get bogus average depth information too (but because that one was a floating point divide, and by default they are unsignalling on x86, it didn't crash, it just resulted in bogus results). Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions