Add global option (-q) to suppress warnings.

Regarding #414.

Frankly, I don't know C. The last time was 3-4 years back for coursework. The patch below works. I will appreciate any criticism.
I am sorry. Thanks for catching it. I have updated the PR.