Skip to content

Commit 0d48c59

Browse files
authored
Merge pull request #8878 from The-OpenROAD-Project-staging/tst-init-block
tst: init block_ (coverity UNINIT_CTOR)
2 parents 8e0186f + 06139c8 commit 0d48c59

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

etc/CodeCoverage.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ _coverity() {
5959
tar czvf openroad.tgz cov-int
6060
commitSha="$(git rev-parse HEAD)"
6161

62+
if [ -n "${SKIP_COVERITY_UPLOAD+x}" ]; then
63+
echo "SKIP_COVERITY_UPLOAD is set. Skipping Coverity upload."
64+
exit 0
65+
fi
66+
6267
# Step 1: Initialize a build. Fetch a cloud upload url.
6368
curl -X POST \
6469
-d version="version=${commitSha}" \

src/tst/include/tst/IntegratedFixture.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class IntegratedFixture : public tst::Fixture
3636

3737
protected:
3838
odb::dbLib* lib_;
39-
odb::dbBlock* block_;
39+
odb::dbBlock* block_{nullptr};
4040
sta::dbNetwork* db_network_;
4141

4242
stt::SteinerTreeBuilder stt_;

0 commit comments

Comments
 (0)