epson-inkjet-printer-escpr/fix_no-return-in-nonvoid-function.patch

11 lines
355 B
Diff

--- src/filter.c.orig 2013-06-04 08:04:30.000000000 +0200
+++ src/filter.c 2013-08-01 11:28:16.000000000 +0200
@@ -130,6 +130,7 @@ EPS_ERR_CODE epsInitLib(){
cmnFuncPtrs.stateCallback = NULL; /* current version unused */
memcpy((void*)(&epsCmnFnc), (void*)&cmnFuncPtrs, sizeof(EPS_CMN_FUNC));
+ return EPS_ERR_NONE;
}
EPS_ERR_CODE epsInitJob(){