From 9699555a67c835cb8ddea55fb2b1d6c97924cba2 Mon Sep 17 00:00:00 2001 From: Andreas Huggel Date: Sun, 5 Dec 2004 04:08:49 +0000 Subject: [PATCH] Fix: Added default target for delete action --- src/exiv2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/exiv2.cpp b/src/exiv2.cpp index 3b8e51d5..a9446341 100644 --- a/src/exiv2.cpp +++ b/src/exiv2.cpp @@ -378,6 +378,7 @@ int Params::nonoption(const std::string& argv) } action = true; action_ = Action::erase; + target_ = ctExif; } if (argv == "ex" || argv == "extract") { if (action_ != Action::none && action_ != Action::extract) {