forked from mirror/OpenTTD
Codefix: "maybe uninitialized" warnings for linux generic release build (#12838)
This commit is contained in:
@@ -29,7 +29,7 @@ private:
|
||||
static_assert(std::is_base_of_v<NewGRFSpecBase<Tindex>, Tspec>);
|
||||
|
||||
uint ui_count = 0; ///< Number of specs in this class potentially available to the user.
|
||||
Tindex index; ///< Index of class within the list of classes.
|
||||
Tindex index = static_cast<Tindex>(0); ///< Index of class within the list of classes.
|
||||
std::vector<Tspec *> spec; ///< List of specifications.
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user