aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-08-11 18:11:45 -0400
committerDave Reisner <dreisner@archlinux.org>2012-08-11 18:11:45 -0400
commit26834f00c6e7ccb2a566194dc598f86a071df61a (patch)
tree8e78deaf9b8255a6d372e8c562d3f21141ca7d26
parentcd1e1f3d062e48d14bfc61d9a73bb50f92accfc1 (diff)
downloadmirror-ponymix-26834f00c6e7ccb2a566194dc598f86a071df61a.tar.gz
mirror-ponymix-26834f00c6e7ccb2a566194dc598f86a071df61a.tar.bz2
mirror-ponymix-26834f00c6e7ccb2a566194dc598f86a071df61a.zip
remove dead code
-rw-r--r--pulsemix.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/pulsemix.c b/pulsemix.c
index 2a3fabc..cff1148 100644
--- a/pulsemix.c
+++ b/pulsemix.c
@@ -69,13 +69,7 @@ enum action {
ACTION_INVALID
};
-enum type {
- TYPE_SINK,
- TYPE_SOURCE
-};
-
struct io_t {
- enum type type;
uint32_t idx;
char *name;
char *desc;
@@ -130,7 +124,6 @@ static struct io_t *sink_new(const pa_sink_info *info)
{
struct io_t *sink = calloc(1, sizeof(struct io_t));
- sink->type = TYPE_SINK;
sink->idx = info->index;
sink->name = strdup(info->name);
sink->desc = strdup(info->description);
@@ -151,7 +144,6 @@ static struct io_t *source_new(const pa_source_info *info)
{
struct io_t *source = calloc(1, sizeof(struct io_t));
- source->type = TYPE_SOURCE;
source->idx = info->index;
source->name = strdup(info->name);
source->desc = strdup(info->description);