aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.c
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2017-04-25 08:36:13 +0200
committerMarcel Raad <raad@teamviewer.com>2017-04-26 10:01:53 +0200
commitb85142164228abe15d6ca20a244ffb849c700e6c (patch)
treed502a7a9fb8d72fdbc09630c970ef7dc9d2cb852 /lib/hostip.c
parent55c3c02e59d1daf31ec2097f93b8139ddb3fdeb6 (diff)
lib: remove unused code
This fixes the following clang warnings: macro is not used [-Wunused-macros] will never be executed [-Wunreachable-code] Closes https://github.com/curl/curl/pull/1448
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index ed18763fd..21baf6015 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -538,7 +538,6 @@ RETSIGTYPE alarmfunc(int sig)
/* this is for "-ansi -Wall -pedantic" to stop complaining! (rabe) */
(void)sig;
siglongjmp(curl_jmpenv, 1);
- return;
}
#endif /* USE_ALARM_TIMEOUT */