summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ImageMetaData.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ImageMetaData.cxx b/src/ImageMetaData.cxx
index d031108..fb1cc8c 100644
--- a/src/ImageMetaData.cxx
+++ b/src/ImageMetaData.cxx
@@ -50,10 +50,8 @@ ImageMetaData::clear() {
int
ImageMetaData::load_image(char *name) {
clear();
-
load_image_jpgcom(name);
load_image_exif(name); // fill missing values from exif data
-
return 0;
}
@@ -264,9 +262,8 @@ ImageMetaData::save_image_jpgcom(char *in_img, char *out_img) {
}
fclose(p);
waitpid(pid, &status, 0);
- if (WEXITSTATUS(status) == 127 || WEXITSTATUS(status) == 126) {
+ if (WEXITSTATUS(status) == 127 || WEXITSTATUS(status) == 126)
fprintf(stderr, "%s not found\n", args[0]);
- }
}
fclose(out);