sds icon indicating copy to clipboard operation
sds copied to clipboard

Dead Store v.2.0.0

Open PatriciaSVMonteiro opened this issue 7 years ago • 0 comments

The value written to &oldfree (sds.c, line 1240) is never used.

if (type != SDS_TYPE_5) {
         test_cond("sdsMakeRoomFor() free", sdsavail(x) >= step);
         oldfree = sdsavail(x);
}

One way to correct this error is to reverse the order of lines 1239 and 1240 and replace sdsavail (x)> = step with oldfree> = step.

PatriciaSVMonteiro avatar May 21 '18 19:05 PatriciaSVMonteiro