summaryrefslogtreecommitdiff
path: root/platform/bb10
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-10-17 10:25:36 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-10-17 10:25:36 -0300
commitb217e1417aff2654282fc3c75b10159683b74a50 (patch)
treebf45bda2a28cfde6c037c7773997c7ea376f35a0 /platform/bb10
parent7060eaaa1be64f45fc9f9a56ee305e040654b43b (diff)
parentafbb6c064c88d743d8a7d04b5dbfb4b0b1b2db7f (diff)
Merge pull request #2479 from firefly2442/cppcheck-unusedvars
ran cppcheck, found unused variables
Diffstat (limited to 'platform/bb10')
-rw-r--r--platform/bb10/audio_driver_bb10.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/bb10/audio_driver_bb10.cpp b/platform/bb10/audio_driver_bb10.cpp
index 2f1d5a49b3..f12625d3b8 100644
--- a/platform/bb10/audio_driver_bb10.cpp
+++ b/platform/bb10/audio_driver_bb10.cpp
@@ -53,7 +53,6 @@ Error AudioDriverBB10::init(const char* p_name) {
dev_name = (char *) p_name;
}
printf("******** reconnecting to device %s\n", dev_name);
- int card, dev;
int ret = snd_pcm_open_name(&pcm_handle, dev_name, SND_PCM_OPEN_PLAYBACK);
ERR_FAIL_COND_V(ret < 0, FAILED);
pcm_open = true;