delta: avoid potential zero division
No binary (build failed)
—
(log yok)
| @@ -169,7 +169,7 @@ printf "New command line options: %d (total %d)\n", | |
| $noptions, $aoptions; | |
| printf "Changes logged: %d\n", $numchanges; | |
| printf "Bugfixes logged: %d (%.2f per day)\n", | |
| - | $numbugfixes, $numbugfixes / $days; |
| + | $numbugfixes, $days ? $numbugfixes / $days : $numbugfixes; |
| printf "Added files: %d (total %d)\n", | |
| $creates, $afiles; | |
| printf "Deleted files: %d (delta: %d)\n", $deletes, | |