Re: [dev] [st] Division by zero

From: Markus Teich <markus.teich_AT_stusta.mhn.de>
Date: Mon, 18 Jul 2016 15:22:40 +0200

Paul Menzel wrote:
> If I am not mistaken, this is really a corner case. The user has to set
> `actionfps` to zero in `config.def.h`.
>
> ```
> config.def.h:static unsigned int actionfps = 30;
> ```

Heyho Paul,

maybe you can make your compiler happy by making the variable const? It should
then be able to see that the value can not be zero if you don't assign zero to
it in the first place.

--Markus
Received on Mon Jul 18 2016 - 15:22:40 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 18 2016 - 15:24:11 CEST