1 |
vapier 11/03/02 02:41:08 |
2 |
|
3 |
Modified: qfile.c |
4 |
Log: |
5 |
fix uninitialized warning after previous commit |
6 |
|
7 |
Revision Changes Path |
8 |
1.57 portage-utils/qfile.c |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/qfile.c?rev=1.57&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/qfile.c?rev=1.57&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/qfile.c?r1=1.56&r2=1.57 |
13 |
|
14 |
Index: qfile.c |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-projects/portage-utils/qfile.c,v |
17 |
retrieving revision 1.56 |
18 |
retrieving revision 1.57 |
19 |
diff -u -r1.56 -r1.57 |
20 |
--- qfile.c 1 Mar 2011 06:11:54 -0000 1.56 |
21 |
+++ qfile.c 2 Mar 2011 02:41:08 -0000 1.57 |
22 |
@@ -1,7 +1,7 @@ |
23 |
/* |
24 |
* Copyright 2005-2010 Gentoo Foundation |
25 |
* Distributed under the terms of the GNU General Public License v2 |
26 |
- * $Header: /var/cvsroot/gentoo-projects/portage-utils/qfile.c,v 1.56 2011/03/01 06:11:54 vapier Exp $ |
27 |
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/qfile.c,v 1.57 2011/03/02 02:41:08 vapier Exp $ |
28 |
* |
29 |
* Copyright 2005-2010 Ned Ludd - <solar@g.o> |
30 |
* Copyright 2005-2010 Mike Frysinger - <vapier@g.o> |
31 |
@@ -34,7 +34,7 @@ |
32 |
"Display installed packages with slots", |
33 |
COMMON_OPTS_HELP |
34 |
}; |
35 |
-static const char qfile_rcsid[] = "$Id: qfile.c,v 1.56 2011/03/01 06:11:54 vapier Exp $"; |
36 |
+static const char qfile_rcsid[] = "$Id: qfile.c,v 1.57 2011/03/02 02:41:08 vapier Exp $"; |
37 |
#define qfile_usage(ret) usage(ret, QFILE_FLAGS, qfile_long_opts, qfile_opts_help, lookup_applet_idx("qfile")) |
38 |
|
39 |
#define qfile_is_prefix(path, prefix, prefix_length) \ |
40 |
@@ -488,7 +488,7 @@ |
41 |
char *p; |
42 |
short search_orphans = 0; |
43 |
short assume_root_prefix = 0; |
44 |
- char *root_prefix; |
45 |
+ char *root_prefix = NULL; |
46 |
char *exclude_pkg_arg = NULL; |
47 |
qfile_args_t *qfile_args = NULL; |
48 |
int qargc = 0; |