aboutsummaryrefslogtreecommitdiff
path: root/nptl/pt-fcntl.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-08 09:28:13 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-08 09:28:13 +0000
commita3957dd58406620c6b4541bafb412d68723979c8 (patch)
treeca10840b44ba0a4f8b92f66873e86913aac48f85 /nptl/pt-fcntl.c
parentbdb04f922004ff8433591f138e40c09722836c45 (diff)
downloadglibc-a3957dd58406620c6b4541bafb412d68723979c8.tar
glibc-a3957dd58406620c6b4541bafb412d68723979c8.tar.gz
glibc-a3957dd58406620c6b4541bafb412d68723979c8.tar.bz2
glibc-a3957dd58406620c6b4541bafb412d68723979c8.zip
Update.
* pt-fcntl.c (__fcntl): Initialize oldtype to avoid warning. * pthread_join.c: Likewise. * pthread_timedjoin.c: Likewise.
Diffstat (limited to 'nptl/pt-fcntl.c')
-rw-r--r--nptl/pt-fcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pt-fcntl.c b/nptl/pt-fcntl.c
index 9d7f68e4c1..5b55f0b920 100644
--- a/nptl/pt-fcntl.c
+++ b/nptl/pt-fcntl.c
@@ -29,7 +29,7 @@
int
__fcntl (int fd, int cmd, ...)
{
- int oldtype;
+ int oldtype = 0;
va_list ap;
if (cmd == F_SETLKW)