diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-03-21 03:10:13 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-03-21 03:10:13 +0100 |
commit | b1cd77fe6e132d0468e14e05abf0ef39e83a1262 (patch) | |
tree | a187486224eea9e2c250bfa9f2e97334e60d63e8 | |
parent | 32b1b38645b2df6abc017566a8200d6be02a6609 (diff) |
Silence warning
* sysdeps/mach/hurd/pt-hurd-cond-timedwait.c (err): Initialize to 0.
-rw-r--r-- | sysdeps/mach/hurd/pt-hurd-cond-timedwait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/pt-hurd-cond-timedwait.c b/sysdeps/mach/hurd/pt-hurd-cond-timedwait.c index 7491e0e..0e11d56 100644 --- a/sysdeps/mach/hurd/pt-hurd-cond-timedwait.c +++ b/sysdeps/mach/hurd/pt-hurd-cond-timedwait.c @@ -44,7 +44,7 @@ __pthread_hurd_cond_timedwait_internal (pthread_cond_t *cond, { struct hurd_sigstate *ss = _hurd_self_sigstate (); struct __pthread *self = _pthread_self (); - error_t err; + error_t err = 0; int cancel, drain; clockid_t clock_id = __pthread_default_condattr.clock; |