X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/7f0d5926362d50ed01ea04af95a1e03777fce47c..2229ee897ec1b2062662da43f7dd8022a9e69fef:/client/reveng/poly.c?ds=inline diff --git a/client/reveng/poly.c b/client/reveng/poly.c index 1e22b8d2..4904dfda 100644 --- a/client/reveng/poly.c +++ b/client/reveng/poly.c @@ -786,15 +786,16 @@ prev(poly_t *poly) { unsigned long fulllength = poly->length + ofs; bmp_t accu; - if(ofs) + if(ofs) { /* removable optimisation */ if(poly->length < (unsigned long) BMP_BIT) { *poly->bitmap = rev(*poly->bitmap >> ofs, (int) poly->length) << ofs; return; } + } - /* claim remaining bits of last word (as we use public function pshift()) */ - poly->length = fulllength; + /* claim remaining bits of last word (as we use public function pshift()) */ + poly->length = fulllength; /* reverse and swap words in the array, leaving it right-justified */ while(leftidx < rightidx) {