OpenToonz - An open-source full-featured 2D animation creation software
C
fix: Remove redundant return and unreachable code
Anderson Pradof9bf79334c16
diff --git a/toonz/sources/tnzbase/tscanner/tscannerepson.cpp b/toonz/sources/tnzbase/tscanner/tscannerepson.cppindex 355e6b108..6dba540e8 100644--- a/toonz/sources/tnzbase/tscanner/tscannerepson.cpp+++ b/toonz/sources/tnzbase/tscanner/tscannerepson.cpp@@ -254,7 +254,6 @@ throw TException("Scan area too large, select a correct paper size");rasBuffer = TRasterGR8P(dimlx, dimly);buffer = rasBuffer->getRawData();break;- break;#elseras = TRasterGR8P(dimlx, dimly);bytes = tceil(dimlx / 8) * dimly;@@ -868,7 +867,6 @@ bool TScannerEpson::ESCI_doADF(bool on) {bool status1 = expectACK();return status1;- return 1;if (!ESCI_command_1b('e', 0x01, true)) {if (on)throw TException("Scanner error loading paper");