aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pulse.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/pulse.cc b/pulse.cc
index 809083b..131c0c0 100644
--- a/pulse.cc
+++ b/pulse.cc
@@ -150,7 +150,6 @@ Card* PulseClient::GetCard(const uint32_t& index) {
Card* PulseClient::GetCard(const string& name) {
long val;
- vector<Card*> res;
if (xstrtol(name.c_str(), &val) == 0) {
return GetCard(val);
} else {
@@ -175,7 +174,6 @@ Device* PulseClient::get_device(vector<Device>& devices,
Device* PulseClient::get_device(vector<Device>& devices, const string& name) {
long val;
- vector<Device*> res;
if (xstrtol(name.c_str(), &val) == 0) {
return get_device(devices, val);
} else {