mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CAudioPlayerGui: move scope of char *type
scope can be reduced
This commit is contained in:
@@ -1195,7 +1195,6 @@ void CAudioPlayerGui::scanXmlData(xmlDocPtr answer_parser, const char *nametag,
|
||||
char *ptr = NULL;
|
||||
char *name = NULL;
|
||||
char *url = NULL;
|
||||
char *type = NULL;
|
||||
time_t bitrate = 0;
|
||||
bool skip = true;
|
||||
listPos++;
|
||||
@@ -1208,6 +1207,7 @@ void CAudioPlayerGui::scanXmlData(xmlDocPtr answer_parser, const char *nametag,
|
||||
#endif // LCD_UPDATE
|
||||
|
||||
if (usechild) {
|
||||
char *type = NULL;
|
||||
xmlNodePtr child = element->xmlChildrenNode;
|
||||
while (child) {
|
||||
if (strcmp(xmlGetName(child), nametag) == 0)
|
||||
|
Reference in New Issue
Block a user