diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-05-01 13:55:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-01 13:55:13 +0200 |
commit | dd8c003e796d570fc93d35e18dc0cce820c46021 (patch) | |
tree | 6620425036e24ca1939b7b8558e12d98e51d0aff /icetime | |
parent | b1026f8b755b20b18f59e25a87adc717f7ba912f (diff) | |
parent | 9f48587713ae3e8fbbf6459006c6e3dc3dda040b (diff) | |
download | icestorm-dd8c003e796d570fc93d35e18dc0cce820c46021.tar.gz icestorm-dd8c003e796d570fc93d35e18dc0cce820c46021.tar.bz2 icestorm-dd8c003e796d570fc93d35e18dc0cce820c46021.zip |
Merge pull request #214 from mbuesch/warningfix
Fix warnings: 'may be used uninitialized in this function'
Diffstat (limited to 'icetime')
-rw-r--r-- | icetime/icetime.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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) { |