Skip to content

Commit 4973b8d

Browse files
committed
Dom't build an unused private function.
This is useful when debugging, but it's not used by default.
1 parent b37815c commit 4973b8d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sarray2.c

+3
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ PRIVATE void SparseArrayDestroy(SparseArray * sarray)
228228
free(sarray);
229229
}
230230

231+
#if 0
232+
// Unused function, but helpful when debugging.
231233
PRIVATE int SparseArraySize(SparseArray *sarray)
232234
{
233235
int size = 0;
@@ -249,3 +251,4 @@ PRIVATE int SparseArraySize(SparseArray *sarray)
249251
}
250252
return size;
251253
}
254+
#endif

0 commit comments

Comments
 (0)