Merge pull request #214 from mbuesch/warningfix

Fix warnings: 'may be used uninitialized in this function'
This commit is contained in:
Clifford Wolf 2019-05-01 13:55:13 +02:00 committed by GitHub
commit dd8c003e79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {