]> git.ipfire.org Git - thirdparty/curl.git/commit
tests: Mark tftpd timer function as noreturn
authorDaniel Gustafsson <daniel@yesql.se>
Mon, 6 May 2024 07:51:16 +0000 (09:51 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Mon, 6 May 2024 07:51:16 +0000 (09:51 +0200)
commit96852a130a7e9b341f62a310356ce8d8315a7445
tree172d7306c17f5bd91104e7ac6e58282d2bd3c917
parentd19fc8ea33f47536a8f2ed478352697974ba34ea
tests: Mark tftpd timer function as noreturn

This avoids the below compiler warning:

tftpd.c:280:1: warning: function 'timer' could be declared with
    attribute 'noreturn' [-Wmissing-noreturn]

Closes: #13534
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
tests/server/tftpd.c