File lhapdf5-no-return-in-non-void.patch of Package lhapdf5

Index: lhapdf-5.9.1/octave/wrapoctave.cc
===================================================================
--- lhapdf-5.9.1.orig/octave/wrapoctave.cc
+++ lhapdf-5.9.1/octave/wrapoctave.cc
@@ -140,6 +140,8 @@ Threshold for a quark with flavor @var{y
 	return Variable(args);
       }
     }
+  octave_value_list output;
+  return output;
 }
 
 
@@ -299,6 +301,7 @@ int ReadArguments(octave_value_list args
 	  return ERROR;
 	}
     }
+  return ERROR;
 }
 
 // determine if the PDF file exists
openSUSE Build Service is sponsored by