diff --git a/include/search_stack.h b/include/search_stack.h index 33067757af..79d99b84a6 100644 --- a/include/search_stack.h +++ b/include/search_stack.h @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2014 CERN - * Copyright (C) 1992-2014 KiCad Developers, see CHANGELOG.TXT for contributors. + * Copyright (C) 1992-2021 KiCad Developers, see AUTHORS.txt for contributors. * @author Maciej Suminski * * This program is free software; you can redistribute it and/or @@ -70,17 +70,6 @@ public: wxString FilenameWithRelativePathInSearchList( const wxString& aFullFilename, const wxString& aBaseDir ); - wxString FindValidPath( const wxString& aFileName ) const - { -#if 1 // might not be needed - - if( wxFileName::FileExists( aFileName ) ) - return aFileName; - else -#endif - return wxPathList::FindValidPath( aFileName ); - } - /** * Function AddPaths * insert or append path(s)