Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libwandio/iow-lzo.c

    r2a7047c rfa7faf3  
    274274}
    275275
    276 iow_t *lzo_wopen(iow_t *child, int compress_level UNUSED)
     276iow_t *lzo_wopen(iow_t *child, int compress_level)
    277277{
    278278        const int opt_filter = 0;
     
    290290                return NULL;
    291291        }
     292
     293        /* Compress level is useless for LZO, but getting UNUSED into here
     294         * is more trouble than it is worth so this check will at least
     295         * stop us from getting warnings about it.
     296         */
     297        if (compress_level < 0)
     298                return NULL;
    292299
    293300        iow = malloc(sizeof(iow_t));
Note: See TracChangeset for help on using the changeset viewer.