eo - parser - fix warning about fallthrough case

goto end with unknown return in possible fallthrough case.
This commit is contained in:
Carsten Haitzler 2018-11-06 16:02:48 +00:00
parent 2017c169e7
commit cc9f4b8bd0
1 changed files with 2 additions and 0 deletions

View File

@ -139,11 +139,13 @@ _eolian_decl_name_get(Eolian_Object *obj)
default:
break;
}
goto end;
case EOLIAN_OBJECT_VARIABLE:
return "variable";
default:
break;
}
end:
return "unknown";
}