Skip to content

Commit

Permalink
initialize json pointer (coverity fix) (#3972)
Browse files Browse the repository at this point in the history
  • Loading branch information
grg authored Apr 6, 2023
1 parent 0bac561 commit 034516c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/graphs/graph_visitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class Graph_visitor : public Graphs {
void forLoopFullGraph(std::vector<Graph *> &graphsArray, fullGraphOpts *opts,
PrevType prev_type);

Util::JsonObject *json; // stores json that will be outputted
Util::JsonObject *json = nullptr; // stores json that will be outputted
Util::JsonArray *programBlocks = nullptr; // stores objects in top level array "nodes"
const cstring graphsDir;
// options
Expand Down

0 comments on commit 034516c

Please sign in to comment.