summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-05-05 19:28:32 +0000
committerjbj <devnull@localhost>2001-05-05 19:28:32 +0000
commit8f75bbc17dab6c334583f33c7b912fb16d2ddc4b (patch)
tree145862352d95e2d391f0d65db0027d44bf236b39 /tools
parentd78e027808deb6aef4e65338d160986d7e576a90 (diff)
downloadrpm-8f75bbc17dab6c334583f33c7b912fb16d2ddc4b.tar.gz
rpm-8f75bbc17dab6c334583f33c7b912fb16d2ddc4b.tar.bz2
rpm-8f75bbc17dab6c334583f33c7b912fb16d2ddc4b.zip
- enough lclint annotations and fiddles already.
CVS patchset: 4741 CVS date: 2001/05/05 19:28:32
Diffstat (limited to 'tools')
-rw-r--r--tools/rpminject.c2
-rw-r--r--tools/rpmsort.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/rpminject.c b/tools/rpminject.c
index 04f7c3959..b43b37797 100644
--- a/tools/rpminject.c
+++ b/tools/rpminject.c
@@ -610,6 +610,6 @@ main(int argc, char *argv[])
ec = do_inject(cmds, ncmds, poptGetArgs(optCon));
- poptFreeContext(optCon);
+ optCon = poptFreeContext(optCon);
return ec;
}
diff --git a/tools/rpmsort.c b/tools/rpmsort.c
index d392fc605..83f507f4e 100644
--- a/tools/rpmsort.c
+++ b/tools/rpmsort.c
@@ -322,7 +322,7 @@ main(int argc, const char *argv[])
ec = do_tsort(poptGetArgs(optCon));
- poptFreeContext(optCon);
+ optCon = poptFreeContext(optCon);
return ec;
}