summaryrefslogtreecommitdiff
path: root/src/pool.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-01-08 14:29:44 +0100
committerMichael Schroeder <mls@suse.de>2014-01-08 14:29:44 +0100
commit84957715aacbe8405e3cb367fe763220d5ba6b42 (patch)
tree039102e6e383fdb5f9e4c0974d9e5f9de7835e31 /src/pool.c
parentc8beaece09040926fb9ea9d6c42b24bda463392e (diff)
downloadlibsolv-84957715aacbe8405e3cb367fe763220d5ba6b42.tar.gz
libsolv-84957715aacbe8405e3cb367fe763220d5ba6b42.tar.bz2
libsolv-84957715aacbe8405e3cb367fe763220d5ba6b42.zip
fix a couple of minor problems found with cppcheck
Diffstat (limited to 'src/pool.c')
-rw-r--r--src/pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pool.c b/src/pool.c
index 57e9814..981c767 100644
--- a/src/pool.c
+++ b/src/pool.c
@@ -2117,7 +2117,7 @@ static inline Id dep2name(Pool *pool, Id dep)
{
while (ISRELDEP(dep))
{
- Reldep *rd = rd = GETRELDEP(pool, dep);
+ Reldep *rd = GETRELDEP(pool, dep);
dep = rd->name;
}
return dep;