diff options
Diffstat (limited to 'apt-pkg/sourcelist.cc')
| -rw-r--r-- | apt-pkg/sourcelist.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/sourcelist.cc b/apt-pkg/sourcelist.cc index 819344281..94fe02531 100644 --- a/apt-pkg/sourcelist.cc +++ b/apt-pkg/sourcelist.cc @@ -563,7 +563,7 @@ bool pkgSourceList::AddVolatileFile(std::string const &File, std::vector<std::st if (File.empty() || FileExists(File) == false) return false; - std::string const ext = flExtension(File); + auto const ext = flExtension(File); // udeb is not included as installing it is usually a mistake rather than intended if (ext == "deb" || ext == "ddeb") AddVolatileFile(new debDebPkgFileIndex(File)); |
