Browse code

replacing extra params that indicate intentional variable assignment within an if statement, preventing a compile warning.

Micah Snyder authored on 2017/11/15 23:40:32
Showing 1 changed files
... ...
@@ -1207,7 +1207,7 @@ static int cabd_extract(struct mscab_decompressor *base,
1207 1207
      */
1208 1208
     self->d->outfh = NULL;
1209 1209
     if ((self->d->comp_type & cffoldCOMPTYPE_MASK) != cffoldCOMPTYPE_LZX) {
1210
-        if (bytes = file->offset - self->d->offset) {
1210
+        if ((bytes = file->offset - self->d->offset)) {
1211 1211
             error = self->d->decompress(self->d->state, bytes);
1212 1212
             self->error = (error == MSPACK_ERR_READ) ? self->read_error : error;
1213 1213
         }