diff options
author | jbj <devnull@localhost> | 2001-04-30 22:32:22 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-04-30 22:32:22 +0000 |
commit | 0ecdbba93587408c670124e88d39451c681a77eb (patch) | |
tree | 0953710c0f014faf772aa6c1ab0fdc1933ffdd8c /build/reqprov.c | |
parent | a57a13b1350ff1a094c202c90391f8676f487582 (diff) | |
download | librpm-tizen-0ecdbba93587408c670124e88d39451c681a77eb.tar.gz librpm-tizen-0ecdbba93587408c670124e88d39451c681a77eb.tar.bz2 librpm-tizen-0ecdbba93587408c670124e88d39451c681a77eb.zip |
- yet more boring lclint annotations and fiddles.
CVS patchset: 4732
CVS date: 2001/04/30 22:32:22
Diffstat (limited to 'build/reqprov.c')
-rw-r--r-- | build/reqprov.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/build/reqprov.c b/build/reqprov.c index 6eeb80ec7..efba0b377 100644 --- a/build/reqprov.c +++ b/build/reqprov.c @@ -62,17 +62,17 @@ int addReqProv(/*@unused@*/ Spec spec, Header h, /* Check for duplicate dependencies. */ if (hge(h, nametag, &dnt, (void **) &names, &len)) { const char ** versions = NULL; - int dvt; + int dvt = RPM_STRING_ARRAY_TYPE; int *flags = NULL; int *indexes = NULL; int duplicate = 0; if (flagtag) { - hge(h, versiontag, &dvt, (void **) &versions, NULL); - hge(h, flagtag, NULL, (void **) &flags, NULL); + (void) hge(h, versiontag, &dvt, (void **) &versions, NULL); + (void) hge(h, flagtag, NULL, (void **) &flags, NULL); } if (indextag) - hge(h, indextag, NULL, (void **) &indexes, NULL); + (void) hge(h, indextag, NULL, (void **) &indexes, NULL); while (len > 0) { len--; @@ -101,15 +101,15 @@ int addReqProv(/*@unused@*/ Spec spec, Header h, } /* Add this dependency. */ - headerAddOrAppendEntry(h, nametag, RPM_STRING_ARRAY_TYPE, &depName, 1); + (void) headerAddOrAppendEntry(h, nametag, RPM_STRING_ARRAY_TYPE, &depName, 1); if (flagtag) { - headerAddOrAppendEntry(h, versiontag, + (void) headerAddOrAppendEntry(h, versiontag, RPM_STRING_ARRAY_TYPE, &depEVR, 1); - headerAddOrAppendEntry(h, flagtag, + (void) headerAddOrAppendEntry(h, flagtag, RPM_INT32_TYPE, &depFlags, 1); } if (indextag) - headerAddOrAppendEntry(h, indextag, RPM_INT32_TYPE, &index, 1); + (void) headerAddOrAppendEntry(h, indextag, RPM_INT32_TYPE, &index, 1); return 0; } |