diff options
author | Jameson Nash <vtjnash@gmail.com> | 2018-11-05 16:03:19 -0500 |
---|---|---|
committer | Jameson Nash <vtjnash@gmail.com> | 2018-11-29 11:21:44 -0500 |
commit | c5593b51dc98715f7f32a919301b5801ebf1a8ce (patch) | |
tree | 68083703aa316ca99eaf1ebd4e423ccf64dc9a57 /test/test-tcp-close-accept.c | |
parent | f1981d74ba880f010bfde6c98647bbb426a6d126 (diff) | |
download | libuv-c5593b51dc98715f7f32a919301b5801ebf1a8ce.tar.gz libuv-c5593b51dc98715f7f32a919301b5801ebf1a8ce.zip |
warnings: fix code that emits compiler warnings
PR-URL: https://github.com/libuv/libuv/pull/2066
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'test/test-tcp-close-accept.c')
-rw-r--r-- | test/test-tcp-close-accept.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test-tcp-close-accept.c b/test/test-tcp-close-accept.c index e4878398..624262bc 100644 --- a/test/test-tcp-close-accept.c +++ b/test/test-tcp-close-accept.c @@ -191,4 +191,8 @@ TEST_IMPL(tcp_close_accept) { return 0; } -#endif /* !_WIN32 */ +#else + +typedef int file_has_no_tests; /* ISO C forbids an empty translation unit. */ + +#endif /* !_WIN32 */ |