Check the result of scanf
commit95ec7681b70933ce61ef198ed60a375b7393a395
authorJoão Abecasis <joao@abecasis.name>
Wed, 7 Oct 2009 08:04:33 +0000 (7 10:04 +0200)
committerJoão Abecasis <joao@abecasis.name>
Wed, 7 Oct 2009 10:44:42 +0000 (7 12:44 +0200)
tree2f539c5a0ac0a3ce176e556f3936eb6f7825a7b8
parentd8e68a95c43d0eef4ac0ebc31c7dd0e6c487e3b2
Check the result of scanf

Fixes a warning with GCC.

Reviewed-by: Markus Goetz
tools/porting/src/filewriter.cpp