]> git.treefish.org Git - phys/latlib.git/commitdiff
...
authorAlex Schmidt <alex@treefish.org>
Thu, 23 May 2013 11:56:01 +0000 (13:56 +0200)
committerAlex Schmidt <alex@treefish.org>
Thu, 23 May 2013 11:56:01 +0000 (13:56 +0200)
o815/o815.cpp

index 4c2b28d8de89c4e72a01ca873e5546a759505086..8700f675e394ef4d7bd8b20ca7dc4ebd9c703bf6 100644 (file)
@@ -239,7 +239,7 @@ o815::comoption* o815::getOptionByVal(int val) {
   for (vector<comoption>::iterator opit = comOptions.begin(); opit != comOptions.end(); ++opit)
     if ( opit->val == val )
       return &(*opit);
-  return NULL;
+  exit(1);
 }
 
 void o815::listArg(int *target, int tlen, char *listarg) {