diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-11-17 17:00:14 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-11-17 17:00:14 -0800 |
commit | 518236d4587642003a52468355d9851463c35b3a (patch) | |
tree | 8970bd9f487aca8a9d8127de8c33693e4ada3662 /templates/test | |
parent | 90c8cf6acc698ddef1d2da3b205ad8d0014b52fa (diff) |
Remove unnecessary if condition in public_headers_must_be_c89
Diffstat (limited to 'templates/test')
-rw-r--r-- | templates/test/core/surface/public_headers_must_be_c89.c.template | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/templates/test/core/surface/public_headers_must_be_c89.c.template b/templates/test/core/surface/public_headers_must_be_c89.c.template index e2d3b1810a..6e4a83666e 100644 --- a/templates/test/core/surface/public_headers_must_be_c89.c.template +++ b/templates/test/core/surface/public_headers_must_be_c89.c.template @@ -48,10 +48,8 @@ #include <stdio.h> int main(int argc, char **argv) { - if(argc == 12345678) { - % for fn in fns: - printf("%lx", (unsigned long) ${fn}); - % endfor - } + % for fn in fns: + printf("%lx", (unsigned long) ${fn}); + % endfor return 0; } |