Skip to content

Commit 414646a

Browse files
Initialize ret variable to zero in UnitTestResult
1 parent 0abd079 commit 414646a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/unit_test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace modsecurity_test {
2727

2828
class UnitTestResult {
2929
public:
30-
int ret;
30+
int ret = 0;
3131
std::string output;
3232
};
3333

0 commit comments

Comments
 (0)