mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
remove debugstatements
This commit is contained in:
parent
a187968967
commit
d770e4c57a
1 changed files with 0 additions and 11 deletions
|
@ -600,9 +600,6 @@ plast(const poly_t poly) {
|
||||||
idx = size - 1UL;
|
idx = size - 1UL;
|
||||||
while (idx && !(accu = poly.bitmap[idx])) --idx;
|
while (idx && !(accu = poly.bitmap[idx])) --idx;
|
||||||
|
|
||||||
if (poly.length == 24)
|
|
||||||
printf("ICE plast B - poly.length %lu vs size %lu idx %lu bitmap %ld\n", poly.length, size, idx, poly.bitmap[idx]);
|
|
||||||
|
|
||||||
if (!idx && !(accu = poly.bitmap[idx])) return (0UL);
|
if (!idx && !(accu = poly.bitmap[idx])) return (0UL);
|
||||||
|
|
||||||
/* now accu == poly.bitmap[idx] and contains last significant term */
|
/* now accu == poly.bitmap[idx] and contains last significant term */
|
||||||
|
@ -1080,10 +1077,6 @@ praloc(poly_t *poly, unsigned long length) {
|
||||||
|
|
||||||
if (poly->bitmap) {
|
if (poly->bitmap) {
|
||||||
|
|
||||||
if (poly->length == 24)
|
|
||||||
printf("ICE praloc - poly->length %lu\n", poly->length);
|
|
||||||
|
|
||||||
|
|
||||||
if (poly->length < length) {
|
if (poly->length < length) {
|
||||||
/* poly->length >= 0, length > 0, size > 0.
|
/* poly->length >= 0, length > 0, size > 0.
|
||||||
* poly expanded. clear old last word and all new words
|
* poly expanded. clear old last word and all new words
|
||||||
|
@ -1094,15 +1087,11 @@ praloc(poly_t *poly, unsigned long length) {
|
||||||
while (oldsize < size)
|
while (oldsize < size)
|
||||||
poly->bitmap[oldsize++] = BMP_C(0);
|
poly->bitmap[oldsize++] = BMP_C(0);
|
||||||
|
|
||||||
if (poly->length == 24) printf("ICE praloc MISS A\n");
|
|
||||||
|
|
||||||
} else if (LOFS(length)) {
|
} else if (LOFS(length)) {
|
||||||
/* poly->length >= length > 0.
|
/* poly->length >= length > 0.
|
||||||
* poly shrunk. clear new last word
|
* poly shrunk. clear new last word
|
||||||
*/
|
*/
|
||||||
poly->bitmap[size - 1UL] &= ~(~BMP_C(0) >> LOFS(length));
|
poly->bitmap[size - 1UL] &= ~(~BMP_C(0) >> LOFS(length));
|
||||||
|
|
||||||
if (poly->length == 24) printf("ICE praloc B size %lu, bm %lu \n", size, poly->bitmap[size - 1UL]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
poly->length = length;
|
poly->length = length;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue