aboutsummaryrefslogtreecommitdiffstats
path: root/src/sls.cpp
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2017-04-07 18:43:07 +0200
committerStefan Pöschel <github@basicmaster.de>2017-04-07 18:43:07 +0200
commit9365cd69311af6784c4b111da6332f7ffcc0bf94 (patch)
tree3bd63fbc813adcaba67d20af868d434fb2fadbcc /src/sls.cpp
parentf6a1d85624d47c777086f29988b3ba54fc1cb49d (diff)
downloadODR-PadEnc-9365cd69311af6784c4b111da6332f7ffcc0bf94.tar.gz
ODR-PadEnc-9365cd69311af6784c4b111da6332f7ffcc0bf94.tar.bz2
ODR-PadEnc-9365cd69311af6784c4b111da6332f7ffcc0bf94.zip
Fix setting of removed variable
The variable survived a refactoring and is orphaned since. Only compilation without MagickWand was affected. Fixes #4.
Diffstat (limited to 'src/sls.cpp')
-rw-r--r--src/sls.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sls.cpp b/src/sls.cpp
index 7265a0e..9046655 100644
--- a/src/sls.cpp
+++ b/src/sls.cpp
@@ -413,7 +413,6 @@ bool SLSManager::encodeFile(const std::string& fname, int fidx, bool raw_slides)
#else
fprintf(stderr, "ODR-PadEnc has not been compiled with MagickWand, only RAW slides are supported!\n");
- ret = -1;
goto encodefile_out;
#endif
}