Squash unused parameter warning

This commit is contained in:
olszomal 2023-05-08 14:37:12 +02:00 committed by Michał Trojnara
parent 4b6027a4f7
commit 76bb06bf7e

3
cab.c
View File

@ -556,6 +556,9 @@ static void cab_update_data_size(FILE_FORMAT_CTX *ctx, BIO *outdata, PKCS7 *p7)
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}; };
/* squash the unused parameter warning */
(void)ctx;
if (!p7) { if (!p7) {
/* CMD_REMOVE /* CMD_REMOVE
* additional header does not exist so additional data size is unused */ * additional header does not exist so additional data size is unused */