Skip to content

Commit b6ba387

Browse files
authored
Merge pull request #34 from LabForComputationalVision/c_issues
Solves failing compilation with clang 16
2 parents 6ec6e0b + 10930ae commit b6ba387

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/pyrtools/pyramids/c/convolve.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ int internal_reduce(image, x_dim, y_dim, filt, temp, x_fdim, y_fdim,
9595
int y_fmid = y_fdim/2;
9696
int base_res_pos;
9797
fptr reflect = edge_function(edges); /* look up edge-handling function */
98-
int i,j;
9998

10099
if (!reflect) return(-1);
101100

@@ -245,6 +244,7 @@ int internal_expand(image,filt,temp,x_fdim,y_fdim,
245244
register int x_step, y_step;
246245
register image_type *image;
247246
int x_start, y_start;
247+
int x_stop, y_stop;
248248
image_type *filt;
249249
int y_fdim, y_dim;
250250
char *edges;
@@ -261,7 +261,6 @@ int internal_expand(image,filt,temp,x_fdim,y_fdim,
261261
int y_fmid = y_fdim/2;
262262
int base_im_pos, x_im_dim = (x_stop-x_start+x_step-1)/x_step;
263263
fptr reflect = edge_function(edges); /* look up edge-handling function */
264-
int i,j;
265264

266265
if (!reflect) return(-1);
267266

0 commit comments

Comments
 (0)