mirror of https://github.com/YosysHQ/icestorm.git
Merge pull request #214 from mbuesch/warningfix
Fix warnings: 'may be used uninitialized in this function'
This commit is contained in:
commit
dd8c003e79
|
|
@ -1087,7 +1087,7 @@ struct TimingAnalysis
|
|||
fprintf(frpt, "Resolvable net names on path:\n");
|
||||
|
||||
std::string last_net;
|
||||
double first_time, last_time;
|
||||
double first_time = 0.0, last_time = 0.0;
|
||||
|
||||
for (int i = int(sym_list.size())-1; i >= 0; i--) {
|
||||
if (last_net != sym_list[i].second) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue