fixed gcc warnings in main.c, -Wmissing-braces.