Dear suckless.org folks,
scan-build 3.8.1 warns about a possible division by zero in st 1.3 [1].
> Bug reported by the clang static analyzer.
>
> Description: Division by zero
> File: /home/joey/src/st/st.c
> Line: 4281
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;
```
Even setting it to zero and rebuilding the package, I was unable to
trigger the issue.
Best regards,
Paul
[1]
http://st.suckless.org/
Received on Mon Jul 18 2016 - 14:45:44 CEST