From: Alex Schmidt Date: Thu, 23 May 2013 11:56:01 +0000 (+0200) Subject: ... X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/commitdiff_plain/2c7e8d0d8fdb233087376cc62752fdc45646c8c8 ... --- diff --git a/o815/o815.cpp b/o815/o815.cpp index 4c2b28d..8700f67 100644 --- a/o815/o815.cpp +++ b/o815/o815.cpp @@ -239,7 +239,7 @@ o815::comoption* o815::getOptionByVal(int val) { for (vector::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) {