mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Mark unused paramter in utils.c
This commit is contained in:
parent
f687547d6e
commit
b41a3a6568
@ -1,3 +1,10 @@
|
|||||||
|
2014-11-22 Darshit Shah <darnir@gmail.com>
|
||||||
|
|
||||||
|
* utils.c (abort_run_with_timeout): The sig parameter is not used. Mark it
|
||||||
|
as such.
|
||||||
|
(abort_run_with_timeout): One implementation of this function did not
|
||||||
|
specify _Noreturn. Add it.
|
||||||
|
|
||||||
2014-11-21 Daniel Stenberg <daniel@haxx.se>
|
2014-11-21 Daniel Stenberg <daniel@haxx.se>
|
||||||
|
|
||||||
* iri.c (remote_to_utf8): Fix compiler warning
|
* iri.c (remote_to_utf8): Fix compiler warning
|
||||||
|
@ -1916,7 +1916,7 @@ random_float (void)
|
|||||||
static sigjmp_buf run_with_timeout_env;
|
static sigjmp_buf run_with_timeout_env;
|
||||||
|
|
||||||
static void _Noreturn
|
static void _Noreturn
|
||||||
abort_run_with_timeout (int sig)
|
abort_run_with_timeout (int sig _GL_UNUSED)
|
||||||
{
|
{
|
||||||
assert (sig == SIGALRM);
|
assert (sig == SIGALRM);
|
||||||
siglongjmp (run_with_timeout_env, -1);
|
siglongjmp (run_with_timeout_env, -1);
|
||||||
@ -1926,8 +1926,8 @@ abort_run_with_timeout (int sig)
|
|||||||
|
|
||||||
static jmp_buf run_with_timeout_env;
|
static jmp_buf run_with_timeout_env;
|
||||||
|
|
||||||
static void
|
static void _Noreturn
|
||||||
abort_run_with_timeout (int sig)
|
abort_run_with_timeout (int sig _GL_UNUSED)
|
||||||
{
|
{
|
||||||
assert (sig == SIGALRM);
|
assert (sig == SIGALRM);
|
||||||
/* We don't have siglongjmp to preserve the set of blocked signals;
|
/* We don't have siglongjmp to preserve the set of blocked signals;
|
||||||
|
Loading…
Reference in New Issue
Block a user