mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Style(9) fix. Do not initialize variables in the declarations.
This commit is contained in:
parent
224e25e117
commit
e2ef00a426
1 changed files with 5 additions and 2 deletions
|
|
@ -436,8 +436,8 @@ linux_sys_futex(struct thread *td, struct linux_sys_futex_args *args)
|
|||
int clockrt, nrwake, op_ret, ret, val;
|
||||
struct linux_emuldata *em;
|
||||
struct waiting_proc *wp;
|
||||
struct futex *f, *f2 = NULL;
|
||||
int error = 0;
|
||||
struct futex *f, *f2;
|
||||
int error;
|
||||
|
||||
/*
|
||||
* Our implementation provides only privates futexes. Most of the apps
|
||||
|
|
@ -460,6 +460,9 @@ linux_sys_futex(struct thread *td, struct linux_sys_futex_args *args)
|
|||
args->op != LINUX_FUTEX_WAIT_REQUEUE_PI)
|
||||
return (ENOSYS);
|
||||
|
||||
error = 0;
|
||||
f = f2 = NULL;
|
||||
|
||||
switch (args->op) {
|
||||
case LINUX_FUTEX_WAIT:
|
||||
args->val3 = FUTEX_BITSET_MATCH_ANY;
|
||||
|
|
|
|||
Loading…
Reference in a new issue