summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-03-21 03:10:13 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-03-21 03:10:13 +0100
commitb1cd77fe6e132d0468e14e05abf0ef39e83a1262 (patch)
treea187486224eea9e2c250bfa9f2e97334e60d63e8 /sysdeps
parent32b1b38645b2df6abc017566a8200d6be02a6609 (diff)
Silence warning
* sysdeps/mach/hurd/pt-hurd-cond-timedwait.c (err): Initialize to 0.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/pt-hurd-cond-timedwait.c2
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;