Add disambiguation braces in main.c

This makes code easier to read, and also eliminates warning.