Closed dissabte closed 4 years ago
Thank you for the patch. Please, fix the following:
int main(void)
. Use int main()
instead.(void)var;
//
for comments, use /* comment */
instead.int main()
and don't mark argc/argv unused.Merged with the described fixes. See 198bdd77d038e6116d9e0090ac204b40b73232a2 .
Introduced UNUSED macro with cast to void in commoh.h for internal use. Used cast to void directly in those files which do not include common.h. Although this change doesn't fix semantic issues with unused function parameters, it does explicitly mark all those places, which might require attention in future.