aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ecbf9cd..6dfd256 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -212,21 +212,6 @@ void validateFilePath(const _tinydir_char_t *projectConfPath)
}
}
-const _tinydir_char_t *sourceFileExtensions[] = { TINYDIR_STRING("c"), TINYDIR_STRING("cc"), TINYDIR_STRING("cpp"), TINYDIR_STRING("cxx") };
-bool isSourceFile(tinydir_file *file)
-{
- if(!file->is_reg)
- return false;
-
- for(const _tinydir_char_t *sourceFileExtension : sourceFileExtensions)
- {
- if(_tinydir_strcmp(sourceFileExtension, file->extension) == 0)
- return true;
- }
-
- return false;
-}
-
bool isPathSubPathOf(const FileString &path, const FileString &subPathOf)
{
return _tinydir_strncmp(path.c_str(), subPathOf.c_str(), subPathOf.size()) == 0;