summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-02-08 03:22:49 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-02-08 03:22:49 +0100
commit177e3fb1a2746f0a36e36a5f3923bba4b55bb932 (patch)
tree20ece2175e8b58caa2efffcd3b348a1fc5cbfa49
parent123ac6f6c60dadc3c620c5de00a40585c81c53ca (diff)
Fix uninitialized value
-rw-r--r--sysdeps/mach/hurd/f_setlk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/f_setlk.c b/sysdeps/mach/hurd/f_setlk.c
index 9c898b130b..6e1b308756 100644
--- a/sysdeps/mach/hurd/f_setlk.c
+++ b/sysdeps/mach/hurd/f_setlk.c
@@ -29,7 +29,7 @@
int
__f_setlk (int fd, int type, int whence, __off64_t start, __off64_t len, int wait)
{
- int cmd;
+ int cmd = 0;
switch (type)
{