diff options
-rw-r--r-- | alsa-binding/Alsa-AddCtl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/alsa-binding/Alsa-AddCtl.c b/alsa-binding/Alsa-AddCtl.c index 108a590..82a6dac 100644 --- a/alsa-binding/Alsa-AddCtl.c +++ b/alsa-binding/Alsa-AddCtl.c @@ -74,7 +74,6 @@ static const unsigned int *allocate_int_dbscale_tlv(int min, int step, int mute) static const unsigned int *allocate_int_linear_tlv(int max, int min) { // SNDRV_CTL_TLVD_DECLARE_DB_LINEAR (range, min, max); - size_t tlvSize = 4 * sizeof (unsigned int); unsigned int *tlv = malloc(4 * sizeof (unsigned int)); tlv[0] = SNDRV_CTL_TLVT_DB_LINEAR; tlv[1] = (unsigned int)(2 * sizeof (unsigned int)); |