Skip to content
Commit 945a1ba0 authored by Mikko Rapeli's avatar Mikko Rapeli Committed by Jean-Baptiste Mardelle
Browse files

thumbnailer/westleypreview.cpp: check for division by zero

Fixes Coverity CID 709288: Division or modulo by zero (DIVIDE_BY_ZERO)
Division by expression "STEPS" which may be zero has undefined behavior
139    avg=avg/STEPS;
...
150    return delta / STEPS;
parent bb0f02c5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment