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 /ftparchive/contents.cc | |
parent | bee0670b2dc8c50ddfc65731c00383da4d377cae (diff) | |
download | apt-62d8a765b9b37354efab6ca838cbdb7f347f7cac.tar.gz |
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 'ftparchive/contents.cc')
-rw-r--r-- | ftparchive/contents.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftparchive/contents.cc b/ftparchive/contents.cc index 015c790e..80fe6e17 100644 --- a/ftparchive/contents.cc +++ b/ftparchive/contents.cc @@ -233,7 +233,7 @@ void GenContents::Add(const char *Dir,const char *Package) // The final component if it does not have a trailing / if (I - Start >= 1) - Root = Grab(Root,Start,Package); + Grab(Root,Start,Package); } /*}}}*/ // GenContents::WriteSpace - Write a given number of white space chars /*{{{*/ |