Mailinglist Archive: zypp-commit (606 mails)

< Previous Next >
[zypp-commit] r9401 - /trunk/sat-solver/tools/repo_updateinfoxml.c
  • From: coolo@xxxxxxxxxxxxxxxx
  • Date: Sat, 05 Apr 2008 07:58:31 -0000
  • Message-id: <20080405075831.EE77E342DA@xxxxxxxxxxxxxxxx>
Author: coolo
Date: Sat Apr 5 09:58:31 2008
New Revision: 9401

URL: http://svn.opensuse.org/viewcvs/zypp?rev=9401&view=rev
Log:
trying to fix compilation

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=9401&r1=9400&r2=9401&view=diff
==============================================================================
--- trunk/sat-solver/tools/repo_updateinfoxml.c (original)
+++ trunk/sat-solver/tools/repo_updateinfoxml.c Sat Apr 5 09:58:31 2008
@@ -258,7 +258,7 @@
*/
case STATE_UPDATE:
{
- const char *from, *status, *type, *version;
+ const char *from = 0, *status = 0, *type = 0, *version = 0;
for (; *atts; atts += 2)
{
if (!strcmp(*atts, "from"))
@@ -275,8 +275,8 @@
pd->datanum = (pd->solvable - pool->solvables) - pd->repo->start;
repodata_extend(pd->data, pd->solvable - pool->solvables);

- solvable->vendor = str2id(pool, (char *)from, 1);
- solvable->evr = str2id(pool, (char *)version, 1);
+ solvable->vendor = str2id(pool, from, 1);
+ solvable->evr = str2id(pool, version, 1);
repodata_set_str(pd->data, pd->datanum, UPDATE_SEVERITY, type);
}
break;

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages