Skip to content
Snippets Groups Projects
Commit aa8bb856 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix uninitialized use warning

parent 66ba128a
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ from_string(const std::string &code);
struct Error
{
//! Error code.
ErrorCode errcode;
ErrorCode errcode = {};
//! Human readable version of the error.
std::string error;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment