summaryrefslogtreecommitdiff
path: root/src/solvable.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/solvable.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/solvable.c')
-rw-r--r--src/solvable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solvable.c b/src/solvable.c
index eeb7b35..5afb481 100644
--- a/src/solvable.c
+++ b/src/solvable.c
@@ -404,7 +404,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;