Fix a possible 'Division by zero'
authorMarco Costalba <mcostalba@gmail.com>
Sat, 26 May 2012 22:14:37 +0000 (23:14 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 26 May 2012 22:17:22 +0000 (23:17 +0100)
In case a book entry has 'count' field set to 0
we crash. Spotted by Clang's static analyzer.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found