Applied ppcoreguidelines-init-variables nullptr access warnings
This commit is contained in:
@@ -277,7 +277,7 @@ void generator::generate_relationships(
|
|||||||
plantuml_common::to_plantuml(r.type(), r.style()));
|
plantuml_common::to_plantuml(r.type(), r.style()));
|
||||||
|
|
||||||
std::stringstream relstr;
|
std::stringstream relstr;
|
||||||
clanguml::common::id_t destination;
|
clanguml::common::id_t destination{0};
|
||||||
try {
|
try {
|
||||||
destination = r.destination();
|
destination = r.destination();
|
||||||
|
|
||||||
@@ -381,7 +381,7 @@ void generator::generate_relationships(const enum_ &e, std::ostream &ostr) const
|
|||||||
if (!m_model.should_include(r.type()))
|
if (!m_model.should_include(r.type()))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
clanguml::common::id_t destination;
|
clanguml::common::id_t destination{0};
|
||||||
std::stringstream relstr;
|
std::stringstream relstr;
|
||||||
try {
|
try {
|
||||||
destination = r.destination();
|
destination = r.destination();
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ translation_unit_visitor::translation_unit_visitor(clang::SourceManager &sm,
|
|||||||
: common::visitor::translation_unit_visitor{sm, config}
|
: common::visitor::translation_unit_visitor{sm, config}
|
||||||
, diagram_{diagram}
|
, diagram_{diagram}
|
||||||
, config_{config}
|
, config_{config}
|
||||||
, call_expression_context_{}
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user