3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 13:18:56 +00:00

Fix all warnings that occurred when compiling with gcc9

This commit is contained in:
Kristoffer Ellersgaard Koch 2019-05-05 10:00:27 +02:00
parent a01386c0e4
commit 30c762d3a1
5 changed files with 9 additions and 5 deletions

View file

@ -298,7 +298,7 @@ struct BugpointPass : public Pass {
if (!check_logfile(grep))
log_cmd_error("The provided grep string is not found in the log file!\n");
int seed = 0, crashing_seed = seed;
int seed = 0;
bool found_something = false, stage2 = false;
while (true)
{
@ -324,7 +324,6 @@ struct BugpointPass : public Pass {
if (crashing_design != design)
delete crashing_design;
crashing_design = simplified;
crashing_seed = seed;
found_something = true;
}
else