commit | dd8c003e796d570fc93d35e18dc0cce820c46021 | [log] [tgz] |
---|---|---|
author | Clifford Wolf <clifford@clifford.at> | Wed May 01 13:55:13 2019 +0200 |
committer | GitHub <noreply@github.com> | Wed May 01 13:55:13 2019 +0200 |
tree | 6620425036e24ca1939b7b8558e12d98e51d0aff | |
parent | b1026f8b755b20b18f59e25a87adc717f7ba912f [diff] | |
parent | 9f48587713ae3e8fbbf6459006c6e3dc3dda040b [diff] |
Merge pull request #214 from mbuesch/warningfix Fix warnings: 'may be used uninitialized in this function'
diff --git a/icetime/icetime.cc b/icetime/icetime.cc index 2feedfe..cc37625 100644 --- a/icetime/icetime.cc +++ b/icetime/icetime.cc
@@ -1087,7 +1087,7 @@ 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) {