mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix gcc warnings
This commit is contained in:
parent
d1fb68eeac
commit
8456f6fc56
2 changed files with 2 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ public:
|
|||
skipWhitespace(false);
|
||||
// Parse type name
|
||||
auto typeName = parseName();
|
||||
Param::Type type;
|
||||
Param::Type type {};
|
||||
if (!Param::TypeMeta.getItem(typeName, type)) {
|
||||
throw error("unsupported param type " + util::quote(typeName));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue