Skip to content

Commit 232b4ce

Browse files
committed
fix possibly false positive use-uninitialised C warning
1 parent 2e1eb7f commit 232b4ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/PDL/Transform.pd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ static inline PDL_Double PDL_xform_aux ( pdl *map, PDL_Indx *coords, PDL_Double
648648
#define HANNING_LOOKUP_SIZE 2500
649649
static PDL_Double hanning_lookup[HANNING_LOOKUP_SIZE + 2];
650650
static int needs_hanning_calc = 1;
651-
PDL_Double zeta;
651+
PDL_Double zeta = 0;
652652
PDL_Double hanning_offset;
653653

654654
#define GAUSSIAN_LOOKUP_SIZE 4000

0 commit comments

Comments
 (0)