From 9365cd69311af6784c4b111da6332f7ffcc0bf94 Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Fri, 7 Apr 2017 18:43:07 +0200 Subject: Fix setting of removed variable The variable survived a refactoring and is orphaned since. Only compilation without MagickWand was affected. Fixes #4. --- src/sls.cpp | 1 - 1 file changed, 1 deletion(-) 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 } -- cgit v1.2.3