diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2021-12-25 13:12:21 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2021-12-25 17:47:14 +0100 |
commit | 6783b2c8a7349863e05935d93927e8192fba39fe (patch) | |
tree | 4122062e7f46a2bf03c6b36f0521f488fd1e3f17 | |
parent | e9ef7f0dd36f9ad3cbf9538e28c45fc6db9b91e2 (diff) | |
download | rockbox-6783b2c8a7349863e05935d93927e8192fba39fe.tar.gz rockbox-6783b2c8a7349863e05935d93927e8192fba39fe.zip |
rbspeex: Fix unused variable warning.
Change-Id: I24a0a9c28101f0d7f17d9e8e4a778f9566ba4701
-rw-r--r-- | tools/rbspeex/rbspeex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/rbspeex/rbspeex.c b/tools/rbspeex/rbspeex.c index 88b18c7c85..66b8aeb19c 100644 --- a/tools/rbspeex/rbspeex.c +++ b/tools/rbspeex/rbspeex.c | |||
@@ -139,7 +139,9 @@ bool encode_file(FILE *fin, FILE *fout, float quality, int complexity, | |||
139 | int i, tmp, target_sr, numchan, bps, sr, numsamples, frame_size, lookahead; | 139 | int i, tmp, target_sr, numchan, bps, sr, numsamples, frame_size, lookahead; |
140 | int nbytes; | 140 | int nbytes; |
141 | bool ret = true; | 141 | bool ret = true; |
142 | #if defined(__BIG_ENDIAN__) | ||
142 | int a; | 143 | int a; |
144 | #endif | ||
143 | 145 | ||
144 | if (!get_wave_metadata(fin, &numchan, &bps, &sr, &numsamples)) { | 146 | if (!get_wave_metadata(fin, &numchan, &bps, &sr, &numsamples)) { |
145 | snprintf(errstr, errlen, "invalid WAV file"); | 147 | snprintf(errstr, errlen, "invalid WAV file"); |