Skip to content

Commit

Permalink
fix(diagnostic_graph_aggregator): fix cppcheck warning of functionSta…
Browse files Browse the repository at this point in the history
…tic (#8266)

* fix: deal with functionStatic warning

Signed-off-by: taisa1 <[email protected]>

* suppress warning by comment

Signed-off-by: taisa1 <[email protected]>

---------

Signed-off-by: taisa1 <[email protected]>
  • Loading branch information
taisa1 authored Aug 6, 2024
1 parent b7e159f commit 6fb8804
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class UnitLink
public:
void initialize_object(BaseUnit * parent, BaseUnit * child);
void initialize_struct();
void initialize_status();
void initialize_status(); // cppcheck-suppress functionStatic
DiagLinkStruct create_struct() const { return struct_; }
DiagLinkStatus create_status() const { return status_; }
BaseUnit * parent() const { return parent_; }
Expand Down

0 comments on commit 6fb8804

Please sign in to comment.