aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skimage_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/skimage_main.cpp')
-rw-r--r--tools/skimage_main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/skimage_main.cpp b/tools/skimage_main.cpp
index 107d3bfdb8..b115392abb 100644
--- a/tools/skimage_main.cpp
+++ b/tools/skimage_main.cpp
@@ -515,7 +515,8 @@ int tool_main(int argc, char** argv) {
decodeFileAndWrite(fullname.c_str(), outDirPtr);
} while (iter.next(&filename));
} else {
- decodeFileAndWrite(FLAGS_readPath[i], outDirPtr);
+ // FLAGS_readPath[i] is an empty or nonexistent directory,
+ // so do nothing.
}
}