mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
643f83a81d
It would have been easy just to set this to "USE_GCC=any" to fix it, but the code had plenty of undefined returns when a type was expected. Using clang exposed those problems. Hopefully I defined the missing return values correctly.
12 lines
334 B
C
12 lines
334 B
C
--- src/lib/inp/ifeval.c.orig 1997-03-21 22:04:12.000000000 +0000
|
|
+++ src/lib/inp/ifeval.c
|
|
@@ -37,7 +37,7 @@ double step, finaltime;
|
|
int i;
|
|
|
|
if (!tree)
|
|
- return;
|
|
+ return (OK);
|
|
for (i = 0; i < tree->numVars; i++)
|
|
init_node(pt->derivs[i],step,finaltime);
|
|
init_node(pt->tree,step,finaltime);
|