pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/cwrappers/files/bin Initialize a variable tha...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2855d8d29ba9
branches: trunk
changeset: 642892:2855d8d29ba9
user: riz <riz%pkgsrc.org@localhost>
date: Sat Dec 06 22:35:24 2014 +0000
description:
Initialize a variable that GCC complains about being used possibly
uninitialized.
diffstat:
pkgtools/cwrappers/files/bin/fixup-libtool.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 97e5e60e56c4 -r 2855d8d29ba9 pkgtools/cwrappers/files/bin/fixup-libtool.c
--- a/pkgtools/cwrappers/files/bin/fixup-libtool.c Sat Dec 06 22:21:38 2014 +0000
+++ b/pkgtools/cwrappers/files/bin/fixup-libtool.c Sat Dec 06 22:35:24 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fixup-libtool.c,v 1.2 2014/11/29 22:19:55 joerg Exp $ */
+/* $NetBSD: fixup-libtool.c,v 1.3 2014/12/06 22:35:24 riz Exp $ */
/*-
* Copyright (c) 2009 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -321,7 +321,7 @@
FILE *fp, *output;
char *line, *opt_start, *tmp_name;
const char *pass_lafile, *cur_option;
- int in_relink, ignore_relink;
+ int in_relink, ignore_relink = 0;
char delimiter;
size_t len;
ssize_t cur;
Home |
Main Index |
Thread Index |
Old Index