projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d131c33
)
Doh, dont shadow the rpmtsVerifyDB() return value
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 29 Apr 2010 12:47:59 +0000
(15:47 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 29 Apr 2010 12:51:41 +0000
(15:51 +0300)
lib/rpmts.c
patch
|
blob
|
history
diff --git
a/lib/rpmts.c
b/lib/rpmts.c
index
0dc39d9
..
42556db
100644
(file)
--- a/
lib/rpmts.c
+++ b/
lib/rpmts.c
@@
-138,7
+138,7
@@
int rpmtsVerifyDB(rpmts ts)
int rc = -1;
rpmlock lock = rpmtsAcquireLock(ts);
if (lock) {
-
int
rc = rpmdbVerify(ts->rootDir);
+ rc = rpmdbVerify(ts->rootDir);
rpmlockFree(lock);
}
return rc;