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 25, 2024
1 parent 078aaf4 commit 145229d
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 145229d

Please sign in to comment.