3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

Address warnings

- Setting default values
- Fixing mismatched types
- Guarding unused var
This commit is contained in:
Krystine Sherwin 2024-08-16 04:30:31 +12:00
parent ceba889641
commit 7b47f645d7
No known key found for this signature in database
4 changed files with 9 additions and 5 deletions

View file

@ -1718,7 +1718,7 @@ struct AbcPass : public Pass {
show_tempdir = true;
}
size_t argidx, g_argidx;
size_t argidx, g_argidx = -1;
bool g_arg_from_cmd = false;
#if defined(__wasm)
const char *pwd = ".";