Skip to content

Commit 408880b

Browse files
committed
remove comments
1 parent e56d3f1 commit 408880b

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/iv/ivmain.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -140,20 +140,6 @@ main(int argc, char* argv[])
140140
Filesystem::get_directory_entries(f, files);
141141

142142
std::vector<std::string> validImages; // Vector to hold valid images
143-
// for (auto& file : files) {
144-
// std::string extension = Filesystem::extension(file);
145-
// // Ensure the extension string starts with a dot
146-
// if (!extension.empty() && extension[0] != '.') {
147-
// extension = "." + extension;
148-
// }
149-
// // Search for the extension in the knownExtensions string
150-
// if (knownExtensions.find(extension) != std::string::npos) {
151-
// int exists = 0;
152-
// bool ok = imagecache->get_image_info(ustring(file), 0, 0, uexists, OIIO::TypeInt, &exists);
153-
// if (ok && exists)
154-
// validImages.push_back(file);
155-
// }
156-
// }
157143
for (auto& file : files) {
158144
std::string extension = Filesystem::extension(file).substr(1); // Remove the leading dot
159145
if (std::find(extensionsVector.begin(), extensionsVector.end(), extension) != extensionsVector.end()) {

0 commit comments

Comments
 (0)