summaryrefslogtreecommitdiff
path: root/print/hplip/files/patch-scan_sane_orblite.c
blob: e3aed6fae9528de46f88309362683d6c7eb417c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- scan/sane/orblite.c.orig	2022-03-07 20:11:09 UTC
+++ scan/sane/orblite.c
@@ -315,7 +315,7 @@ orblite_open (SANE_String_Const devicename, SANE_Handl
 void
 orblite_close (SANE_Handle handle)
 {
-	return g_handle->bb_orblite_close(g_handle);
+	g_handle->bb_orblite_close(g_handle);
 }
 
 
@@ -331,6 +331,7 @@ if (option >= optCount && option < optLast)
 		return &g_handle->Options[option];
 	}
 	//return g_handle->bb_orblite_get_option_descriptor(g_handle, option);
+	return NULL;
 }
 
 
@@ -372,7 +373,7 @@ orblite_read (SANE_Handle handle, SANE_Byte * data, SA
 void
 orblite_cancel (SANE_Handle handle)
 {
-	return g_handle->bb_orblite_cancel(g_handle);
+	g_handle->bb_orblite_cancel(g_handle);
 }
 
 ////// sane_set_io_mode, get_select_fd, strstatus - UNIMPLEMENTED /////////////