From 15a5b22886122901e675002a87cb286d38078472 Mon Sep 17 00:00:00 2001
From: Shubham Vasudeo Desai
Date: Wed, 30 Apr 2025 16:51:27 -0400
Subject: [PATCH 1/4] Fix Uninitialized Variable
---
vector/v.vol.rst/user1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vector/v.vol.rst/user1.c b/vector/v.vol.rst/user1.c
index 2ec9a716ec8..234f039326d 100644
--- a/vector/v.vol.rst/user1.c
+++ b/vector/v.vol.rst/user1.c
@@ -63,7 +63,7 @@
int INPUT(struct Map_info *In, char *column, char *scol, char *wheresql)
{
struct quadruple *point;
- double x, y, z, w, nz = 0., sm;
+ double x, y, z, w, nz = 0., sm = 0.;
double c1, c2, c3, c4, c5, c6, nsg;
int i, j, k = 0, a, irev, cfmask;
int ddisk = 0;
From d7b5299f644b9e23bf00e14bbe38e27827ba9d8c Mon Sep 17 00:00:00 2001
From: Shubham Vasudeo Desai
Date: Mon, 19 May 2025 10:02:57 -0400
Subject: [PATCH 2/4] another fix
---
vector/v.vol.rst/user3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vector/v.vol.rst/user3.c b/vector/v.vol.rst/user3.c
index 7052a6a8ec6..c0d62537083 100644
--- a/vector/v.vol.rst/user3.c
+++ b/vector/v.vol.rst/user3.c
@@ -659,7 +659,7 @@ int POINT(int n_points, struct quadruple *points, struct point_3d skip_point)
{
double errmax, h, xx, yy, r2, hz, zz, ww, err, xmm, ymm, zmm, /* wmm, */ r,
etar;
- int n1, mm, m, mmax, inside;
+ int n1, mm, m, mmax = 0, inside;
errmax = .0;
n1 = n_points + 1;
From 5ca37cba039ab13ef336f32ad4d3ee828f3983a1 Mon Sep 17 00:00:00 2001
From: Shubham Vasudeo Desai
Date: Mon, 16 Jun 2025 13:30:32 -0400
Subject: [PATCH 3/4] CID1208514
---
vector/v.vol.rst/user3.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vector/v.vol.rst/user3.c b/vector/v.vol.rst/user3.c
index c0d62537083..10a23192a55 100644
--- a/vector/v.vol.rst/user3.c
+++ b/vector/v.vol.rst/user3.c
@@ -60,6 +60,7 @@ int secpar_loop(int ngstc UNUSED, int nszc UNUSED, int i)
double gradmin;
int bmask = 1;
static int first_t = 1;
+ curn = 0.0;
ro = M_R2D;
gradmin = 0.0;
@@ -659,7 +660,7 @@ int POINT(int n_points, struct quadruple *points, struct point_3d skip_point)
{
double errmax, h, xx, yy, r2, hz, zz, ww, err, xmm, ymm, zmm, /* wmm, */ r,
etar;
- int n1, mm, m, mmax = 0, inside;
+ int n1, mm, m, mmax, inside;
errmax = .0;
n1 = n_points + 1;
From f2d34e27f4fe3698e31780a97f6e906c7f914f20 Mon Sep 17 00:00:00 2001
From: Shubham Vasudeo Desai
Date: Tue, 17 Jun 2025 10:43:03 -0400
Subject: [PATCH 4/4] Trigger CI