summaryrefslogtreecommitdiffstats
path: root/backend_shinkos1245.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-05-06 21:10:43 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-05-07 11:02:30 -0400
commitb74809107973ae2e6cc027842a004c40cd411a65 (patch)
tree4f7707b9f3ac7720fc696b98dddcd8aa08b352c9 /backend_shinkos1245.c
parent34896a0e293b087a46060360cc2c5ca31be043ea (diff)
downloadselphy_print-b74809107973ae2e6cc027842a004c40cd411a65.tar.gz
selphy_print-b74809107973ae2e6cc027842a004c40cd411a65.tar.bz2
selphy_print-b74809107973ae2e6cc027842a004c40cd411a65.zip
misc: Fix up a small pile of bugs found via static analysis.
Diffstat (limited to 'backend_shinkos1245.c')
-rw-r--r--backend_shinkos1245.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend_shinkos1245.c b/backend_shinkos1245.c
index 59a61e2..353b73d 100644
--- a/backend_shinkos1245.c
+++ b/backend_shinkos1245.c
@@ -1361,6 +1361,7 @@ static int shinkos1245_main_loop(void *vctx, const void *vjob) {
struct shinkos1245_ctx *ctx = vctx;
int i, num, last_state = -1, state = S_IDLE;
struct shinkos1245_resp_status status1, status2;
+ int copies;
const struct sinfonia_printjob *job = vjob;