summaryrefslogtreecommitdiffstats
path: root/backend_kodak1400.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-05-01 14:46:51 -0400
committerSolomon Peachy <pizza@shaftnet.org>2018-05-01 14:46:51 -0400
commit2969635368efcfa3f40b4296e593dfd769ddbd52 (patch)
tree6ecb5d191cc8da240a321a75628b744affc95abc /backend_kodak1400.c
parent5bd726414fba1b8b445ada85e451b8b8d0e77dd3 (diff)
downloadselphy_print-2969635368efcfa3f40b4296e593dfd769ddbd52.tar.gz
selphy_print-2969635368efcfa3f40b4296e593dfd769ddbd52.tar.bz2
selphy_print-2969635368efcfa3f40b4296e593dfd769ddbd52.zip
kodak1400: Shut up a compile warning.
Diffstat (limited to 'backend_kodak1400.c')
-rw-r--r--backend_kodak1400.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend_kodak1400.c b/backend_kodak1400.c
index 13a8378..dc21289 100644
--- a/backend_kodak1400.c
+++ b/backend_kodak1400.c
@@ -398,6 +398,8 @@ static int kodak1400_read_parse(void *vctx, int data_fd) {
ptr = ctx->plane_g + i * ctx->hdr.columns;
else if (j == 2)
ptr = ctx->plane_b + i * ctx->hdr.columns;
+ else
+ ptr = NULL;
remain = ctx->hdr.columns;
do {