aboutsummaryrefslogtreecommitdiff
path: root/src/examples/demo_https.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-10-31 11:16:26 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-10-31 11:19:24 +0300
commit424abcd21daf7000fa826a03de6188ea608a50ec (patch)
treeb290e8f29f227fcef0259d14a6306979dd2f2f3e /src/examples/demo_https.c
parente7f77103503632ddd6ee6e87021de83271e9ebbf (diff)
downloadlibmicrohttpd-424abcd21daf7000fa826a03de6188ea608a50ec.tar.gz
libmicrohttpd-424abcd21daf7000fa826a03de6188ea608a50ec.zip
Additional compiler warnings fixes.
Diffstat (limited to 'src/examples/demo_https.c')
-rw-r--r--src/examples/demo_https.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/examples/demo_https.c b/src/examples/demo_https.c
index 85c369b6..806464a2 100644
--- a/src/examples/demo_https.c
+++ b/src/examples/demo_https.c
@@ -831,6 +831,7 @@ generate_page (void *cls,
831static void 831static void
832catcher (int sig) 832catcher (int sig)
833{ 833{
834 (void)sig; /* Unused. Silent compiler warning. */
834 /* do nothing */ 835 /* do nothing */
835} 836}
836 837
@@ -839,7 +840,7 @@ catcher (int sig)
839 * setup handlers to ignore SIGPIPE. 840 * setup handlers to ignore SIGPIPE.
840 */ 841 */
841static void 842static void
842ignore_sigpipe () 843ignore_sigpipe (void)
843{ 844{
844 struct sigaction oldsig; 845 struct sigaction oldsig;
845 struct sigaction sig; 846 struct sigaction sig;