smp: Remove unreachable initializer

Execution in this block will start with any of the case statements,
never with the initialization.
This commit is contained in:
Tobias Brunner 2018-09-07 10:56:07 +02:00
parent 23d756e4f0
commit 648709b392

View File

@ -76,7 +76,8 @@ static void write_id(xmlTextWriterPtr writer, char *element, identification_t *i
switch (id->get_type(id)) switch (id->get_type(id))
{ {
{ {
char *type = ""; char *type;
while (TRUE) while (TRUE)
{ {
case ID_ANY: case ID_ANY: