mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
As pointed by Coverity, the return value of 'sscanf' is not checked, which may not be a problem because the fall-back value for 'i' is provided before. However, if sscanf fails there is no guarantee that all implementation would leave 'i' untouched in case of parsing error, and for convenience it is more logical to write the code is such a way that the value assignment looks like the fall-back value it is. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
40 KiB
40 KiB