Author: coolo Date: Sat Apr 5 10:08:01 2008 New Revision: 9402 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9402&view=rev Log: more of these init variables Modified: trunk/sat-solver/tools/repo_updateinfoxml.c Modified: trunk/sat-solver/tools/repo_updateinfoxml.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/repo_updateinfoxml.c?rev=9402&r1=9401&r2=9402&view=diff ============================================================================== --- trunk/sat-solver/tools/repo_updateinfoxml.c (original) +++ trunk/sat-solver/tools/repo_updateinfoxml.c Sat Apr 5 10:08:01 2008 @@ -293,7 +293,7 @@ */ case STATE_ISSUED: { - const char *date; + const char *date = 0; for (; *atts; atts += 2) { if (!strcmp(*atts, "date")) @@ -330,7 +330,7 @@ */ case STATE_PACKAGE: { - const char *arch, *name, *src; + const char *arch = 0, *name = 0, *src = 0; Id evr = makeevr_atts(pool, pd, atts); /* parse "epoch", "version", "release" */ Id n; Id rel_id; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org