aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-08-22 23:10:13 -0400
committerDave Reisner <dreisner@archlinux.org>2013-08-22 23:10:34 -0400
commit03beb5b524736942bef5da63062220bd7c2a63cd (patch)
treefe75d110c8b0d39b1f19d06fa34a852855e95c72
parent63d057dbc6e6308738f28b767a59c4a503810c2f (diff)
downloadmirror-ponymix-03beb5b524736942bef5da63062220bd7c2a63cd.tar.gz
mirror-ponymix-03beb5b524736942bef5da63062220bd7c2a63cd.tar.bz2
mirror-ponymix-03beb5b524736942bef5da63062220bd7c2a63cd.zip
lib: remove unused vars
-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 {