Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 001eb3d

Browse files
committed
Don't mix declarations and code
1 parent 913bf7f commit 001eb3d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/cntr.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,13 +717,14 @@ slit_cutter (Csite * site, int up, int pass2)
717717

718718
if (up)
719719
{
720-
assert(pass2);
721-
722720
/* upward stroke of slit proceeds up left side of slit until
723721
* it hits a boundary or a point not between the contour levels
724722
* -- this never happens on the first pass */
725723
long p1 = site->edge;
726724
int z1;
725+
726+
assert(pass2);
727+
727728
for (;;)
728729
{
729730
z1 = data[p1] & Z_VALUE;

0 commit comments

Comments
 (0)