Skip to content

Commit

Permalink
Properly initialize empty cstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
kfcripps committed Jan 24, 2024
1 parent 4526a43 commit a97cbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/p4tools/p4tools.def
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public:
inline cstring concolicMethodName = "";

toString {
cstring argumentStr;
cstring argumentStr = "";
cstring sep = "";
for (const auto *arg : *arguments) {
argumentStr += sep + arg->toString();
Expand Down

0 comments on commit a97cbd3

Please sign in to comment.