summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2021-12-25 13:12:21 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2021-12-25 17:47:14 +0100
commit6783b2c8a7349863e05935d93927e8192fba39fe (patch)
tree4122062e7f46a2bf03c6b36f0521f488fd1e3f17
parente9ef7f0dd36f9ad3cbf9538e28c45fc6db9b91e2 (diff)
downloadrockbox-6783b2c8a7349863e05935d93927e8192fba39fe.tar.gz
rockbox-6783b2c8a7349863e05935d93927e8192fba39fe.zip
rbspeex: Fix unused variable warning.
Change-Id: I24a0a9c28101f0d7f17d9e8e4a778f9566ba4701
-rw-r--r--tools/rbspeex/rbspeex.c2
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,
int i, tmp, target_sr, numchan, bps, sr, numsamples, frame_size, lookahead;
int nbytes;
bool ret = true;
+#if defined(__BIG_ENDIAN__)
int a;
+#endif
if (!get_wave_metadata(fin, &numchan, &bps, &sr, &numsamples)) {
snprintf(errstr, errlen, "invalid WAV file");