|
From: <kin...@us...> - 2024-07-09 21:34:55
|
Revision: 7190
http://sourceforge.net/p/teem/code/7190
Author: kindlmann
Date: 2024-07-09 21:34:52 +0000 (Tue, 09 Jul 2024)
Log Message:
-----------
fixing compilation/valgrind issues
Modified Paths:
--------------
teem/trunk/src/limn/lpu_cbfit.c
teem/trunk/src/limn/splineFit.c
Modified: teem/trunk/src/limn/lpu_cbfit.c
===================================================================
--- teem/trunk/src/limn/lpu_cbfit.c 2024-07-09 21:22:33 UTC (rev 7189)
+++ teem/trunk/src/limn/lpu_cbfit.c 2024-07-09 21:34:52 UTC (rev 7190)
@@ -154,6 +154,7 @@
USAGE(myinfo);
PARSE(myinfo);
+ airMopAdd(mop, hopt, (airMopper)hestOptFree, airMopAlways);
airMopAdd(mop, hopt, (airMopper)hestParseFree, airMopAlways);
if (!(2 == _nin->dim)) {
Modified: teem/trunk/src/limn/splineFit.c
===================================================================
--- teem/trunk/src/limn/splineFit.c 2024-07-09 21:22:33 UTC (rev 7189)
+++ teem/trunk/src/limn/splineFit.c 2024-07-09 21:34:52 UTC (rev 7190)
@@ -1033,7 +1033,7 @@
const double tt1[2], const double tt2[2], const double vv3[2],
const limnCbfPoints *lpnt, uint loi, uint hii) {
static const char me[] = "findDist";
- uint ii, distMaxIdx, spanlen;
+ uint ii, distMaxIdx = UINT_MAX, spanlen;
double vv1[2], vv2[2], distMax;
const double *uu = fctx->uu;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|