mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-02 17:30:24 +00:00
Fix GCC compiler warning
This commit is contained in:
parent
1d229ae254
commit
b4f9feaf07
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ template <typename... Args>
|
|||
inline std::string format_emit_toplevel(std::string_view fmt, bool has_escapes, const FoundFormatSpec* specs, const Args &... args)
|
||||
{
|
||||
std::string result;
|
||||
int dynamic_ints[2] = { 0, 0 };
|
||||
int dynamic_ints[3] = { 0, 0, 0 };
|
||||
format_emit(result, fmt, 0, has_escapes, specs, dynamic_ints, DynamicIntCount::NONE, args...);
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue