From 26834f00c6e7ccb2a566194dc598f86a071df61a Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 11 Aug 2012 18:11:45 -0400 Subject: remove dead code --- pulsemix.c | 8 -------- 1 file changed, 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); -- cgit v1.2.3