From a3fc2105e4dfe06f3f31360813787103a01ab069 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 14 Jun 2012 21:19:42 +0200 Subject: piano: Remove unused struct --- src/ui.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index 3f23a23..b1a6407 100644 --- a/src/ui.c +++ b/src/ui.c @@ -556,7 +556,6 @@ void BarStationFromGenre (BarApp_t *app) { WaitressReturn_t wRet; PianoGenreCategory_t *curCat; PianoGenre_t *curGenre; - PianoRequestDataCreateStation_t reqData; int i; /* receive genre stations list if not yet available */ @@ -613,9 +612,7 @@ void BarStationFromGenre (BarApp_t *app) { /* create station */ BarUiMsg (&app->settings, MSG_INFO, "Adding shared station \"%s\"... ", curGenre->name); - reqData.id = curGenre->musicId; - reqData.type = "mi"; - BarUiPianoCall (app, PIANO_REQUEST_CREATE_STATION, &reqData, &pRet, &wRet); + BarUiPianoCall (app, PIANO_REQUEST_CREATE_STATION, curGenre->musicId, &pRet, &wRet); } /* replaces format characters (%x) in format string with custom strings -- cgit v1.2.3