Allows getting closer to `./run_project_tests.py -- -Dwerror=true`. - when argc and argv are not *both* used, there's a standard, compliant mechanism to mark the variable as unused - generated code should not build as -Werror - more thoroughly comment out some commented codepull/11597/head
parent
81c3c3808e
commit
5dc4fcae34
5 changed files with 11 additions and 4 deletions
@ -1,8 +1,10 @@ |
|||||||
#include <assert.h> |
#include <assert.h> |
||||||
#include "gen.h" |
#include "gen.h" |
||||||
|
|
||||||
int main(int argc) |
int main(int argc, char **argv) |
||||||
{ |
{ |
||||||
|
(void)argv; |
||||||
|
|
||||||
assert(argc == 3); |
assert(argc == 3); |
||||||
return genfunc(); |
return genfunc(); |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue