Merge pull request #3322 from kkartaltepe/unused-var-cleanup
obs-filters/obs-outputs: Cleanup unused var warns
This commit is contained in:
commit
aef10d46c4
@ -376,6 +376,8 @@ static inline void process_rnnoise(struct noise_suppress_data *ng)
|
||||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
UNUSED_PARAMETER(ng);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -370,6 +370,7 @@ DHComputeSharedSecretKey(MDH *dh, uint8_t *pubkey, size_t nPubkeyLen,
|
||||
|
||||
MP_gethex(q1, Q1024, len);
|
||||
assert(len);
|
||||
UNUSED_PARAMETER(len); // Make GCC happy len is used in release.
|
||||
|
||||
if (isValidPublicKey(pubkeyBn, dh->p, q1))
|
||||
res = MDH_compute_key(secret, nPubkeyLen, pubkeyBn, dh);
|
||||
|
@ -322,6 +322,7 @@ HMACsha256(const uint8_t *message, size_t messageLen, const uint8_t *key,
|
||||
#endif
|
||||
|
||||
assert(digestLen == 32);
|
||||
UNUSED_PARAMETER(digestLen); // Make GCC happy digestLen is used in release.
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user