|
From: <kin...@us...> - 2025-09-30 03:34:44
|
Revision: 7522
http://sourceforge.net/p/teem/code/7522
Author: kindlmann
Date: 2025-09-30 03:34:41 +0000 (Tue, 30 Sep 2025)
Log Message:
-----------
another error check
Modified Paths:
--------------
teem/trunk/src/hest/parsest.c
Modified: teem/trunk/src/hest/parsest.c
===================================================================
--- teem/trunk/src/hest/parsest.c 2025-09-29 08:20:17 UTC (rev 7521)
+++ teem/trunk/src/hest/parsest.c 2025-09-30 03:34:41 UTC (rev 7522)
@@ -1220,6 +1220,10 @@
}
for (uint opi = 0; opi < optNum; opi++) {
identStr(ident, hopt + opi);
+ if (hestSourceUnknown == hopt[opi].source) {
+ biffAddf(HEST, "%s%s%s[%u] does not have a source set?", _ME_, ident, opi);
+ return 1;
+ }
/* (Yes, half of this test is redundant with check above on whether the default
string supplied at least hopt[opi].min args, but erring with doing more checks).
Now that we've made a hopt[opi].havec array, and will soon parse strings to set
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|