diff options
author | 2011-03-02 02:41:08 +0000 | |
---|---|---|
committer | 2011-03-02 02:41:08 +0000 | |
commit | 82eddfca5e3372024a91835ce4a791d0a58fa095 (patch) | |
tree | 6fe5e09c30a8e79243164036148584086c319800 /qfile.c | |
parent | convert grab_vdb_item to eat_file, and drop the leading slash on vdb path for... (diff) | |
download | portage-utils-82eddfca5e3372024a91835ce4a791d0a58fa095.tar.gz portage-utils-82eddfca5e3372024a91835ce4a791d0a58fa095.tar.bz2 portage-utils-82eddfca5e3372024a91835ce4a791d0a58fa095.zip |
fix uninitialized warning after previous commit
Diffstat (limited to 'qfile.c')
-rw-r--r-- | qfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* * Copyright 2005-2010 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/qfile.c,v 1.56 2011/03/01 06:11:54 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/qfile.c,v 1.57 2011/03/02 02:41:08 vapier Exp $ * * Copyright 2005-2010 Ned Ludd - <solar@gentoo.org> * Copyright 2005-2010 Mike Frysinger - <vapier@gentoo.org> @@ -34,7 +34,7 @@ static const char * const qfile_opts_help[] = { "Display installed packages with slots", COMMON_OPTS_HELP }; -static const char qfile_rcsid[] = "$Id: qfile.c,v 1.56 2011/03/01 06:11:54 vapier Exp $"; +static const char qfile_rcsid[] = "$Id: qfile.c,v 1.57 2011/03/02 02:41:08 vapier Exp $"; #define qfile_usage(ret) usage(ret, QFILE_FLAGS, qfile_long_opts, qfile_opts_help, lookup_applet_idx("qfile")) #define qfile_is_prefix(path, prefix, prefix_length) \ @@ -488,7 +488,7 @@ int qfile_main(int argc, char **argv) char *p; short search_orphans = 0; short assume_root_prefix = 0; - char *root_prefix; + char *root_prefix = NULL; char *exclude_pkg_arg = NULL; qfile_args_t *qfile_args = NULL; int qargc = 0; |