diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-06-14 21:19:42 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-06-14 21:19:42 +0200 |
commit | a3fc2105e4dfe06f3f31360813787103a01ab069 (patch) | |
tree | 3d66a15cfc2f73312b68d45832e9e2faaa618cd9 /src/ui.c | |
parent | 02bedadab6505c10dda52c716e797d1065a57a7b (diff) | |
download | pianobar-a3fc2105e4dfe06f3f31360813787103a01ab069.tar.gz pianobar-a3fc2105e4dfe06f3f31360813787103a01ab069.tar.bz2 pianobar-a3fc2105e4dfe06f3f31360813787103a01ab069.zip |
piano: Remove unused struct
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 |