Remove two unused temporary variables from SearchPath::add_subdirectory_to_paths
authorTim Mayberry <mojofunk@gmail.com>
Thu, 7 Jun 2007 03:25:06 +0000 (03:25 +0000)
committerTim Mayberry <mojofunk@gmail.com>
Thu, 7 Jun 2007 03:25:06 +0000 (03:25 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1977 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/pbd/search_path.cc

index 9a10557dabaae7e5bcd8c5a3b93edaf3793c7507..146fd7eaf08b6d811a91c3f6e99ef7b75a0dc658 100644 (file)
@@ -132,9 +132,6 @@ SearchPath::operator+ (const SearchPath& spath)
 SearchPath&
 SearchPath::add_subdirectory_to_paths (const string& subdir)
 {
-       vector<sys::path> tmp;
-       string directory_path;
-
        for (vector<sys::path>::iterator i = m_dirs.begin(); i != m_dirs.end(); ++i)
        {
                // should these new paths just be added to the end of