diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-01-16 19:51:23 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-01-16 19:51:23 +0100 |
commit | 62d8a765b9b37354efab6ca838cbdb7f347f7cac (patch) | |
tree | 4bd41cf6076cf264640ab2296f41c88379fecf44 /test/libapt/parsedepends_test.cc | |
parent | bee0670b2dc8c50ddfc65731c00383da4d377cae (diff) |
rework some code to fix some scan-build warnings
No visible functional changes, just code moved around and additional
checks to eliminate impossible branches
Reported-By: scan-build
Git-Dch: Ignore
Diffstat (limited to 'test/libapt/parsedepends_test.cc')
-rw-r--r-- | test/libapt/parsedepends_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libapt/parsedepends_test.cc b/test/libapt/parsedepends_test.cc index 677b1c892..e95016240 100644 --- a/test/libapt/parsedepends_test.cc +++ b/test/libapt/parsedepends_test.cc @@ -176,7 +176,7 @@ test: equals("7.15.3~", Version); equals(Null | pkgCache::Dep::Equals | pkgCache::Dep::Or, Op); - Start = debListParser::ParseDepends(Start, End, Package, Version, Op, ParseArchFlags, StripMultiArch); + debListParser::ParseDepends(Start, End, Package, Version, Op, ParseArchFlags, StripMultiArch); if (StripMultiArch == true) equals("overlord-dev", Package); else |