diff options
author | Ingo Weinhold <ingo_weinhold@gmx.de> | 2011-07-11 20:36:06 +0000 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-01-17 17:45:03 +0100 |
commit | 5b0d7883a182851bee1f5d67164d747ba00e4d6d (patch) | |
tree | 13e4e07d5d7f7472dbfee2e2b08c26341b3db532 /src/repodata.c | |
parent | 2401fc9a4324d9f92fb2e32109f18f513f12a79f (diff) | |
download | libsolv-5b0d7883a182851bee1f5d67164d747ba00e4d6d.tar.gz libsolv-5b0d7883a182851bee1f5d67164d747ba00e4d6d.tar.bz2 libsolv-5b0d7883a182851bee1f5d67164d747ba00e4d6d.zip |
Make more C89 and POSIX compliant
Diffstat (limited to 'src/repodata.c')
-rw-r--r-- | src/repodata.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/repodata.c b/src/repodata.c index 5790f30..2a9fcba 100644 --- a/src/repodata.c +++ b/src/repodata.c @@ -2502,8 +2502,9 @@ repodata_serialize_key(Repodata *data, struct extdata *newincore, schemaid = 0; for (ida = data->attriddata + val; *ida; ida++) { + Id *kp; sp = schema; - Id *kp = data->xattrs[-*ida]; + kp = data->xattrs[-*ida]; if (!kp) continue; num++; |