Skip to content

Commit d8f7f57

Browse files
committed
Fix pedantic warning for gcc
1 parent c622d9d commit d8f7f57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sds.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,6 +1266,7 @@ int sdsTest(void) {
12661266
if (type != SDS_TYPE_5) {
12671267
test_cond("sdsMakeRoomFor() free", sdsavail(x) >= step);
12681268
oldfree = sdsavail(x);
1269+
(void) oldfree;
12691270
}
12701271
p = x+oldlen;
12711272
for (j = 0; j < step; j++) {

0 commit comments

Comments
 (0)