LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File hplip-orblite-return-null.diff of Package hplip (Project Printing)

diff -ur hplip-3.19.3-orig/scan/sane/orblite.c hplip-3.19.3/scan/sane/orblite.c
--- hplip-3.19.3-orig/scan/sane/orblite.c	2019-03-14 10:28:56.000000000 +0100
+++ hplip-3.19.3/scan/sane/orblite.c	2019-04-12 18:59:07.734202665 +0200
@@ -331,6 +331,7 @@
 		return &g_handle->Options[option];
 	}
 	//return g_handle->bb_orblite_get_option_descriptor(g_handle, option);
+	return NULL;
 }