c: fix static var default value

Signed-off-by: Micky Ching <mickyching@gmail.com>