Skip to content

Commit d5ce377

Browse files
committed
Fixed parens in an assert's conditional expression
1 parent 1995860 commit d5ce377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void Handler::set_state(Handler::State next_state) {
113113
break;
114114

115115
case REQUEST_STATE_READ_BEFORE_WRITE:
116-
assert(next_state == REQUEST_STATE_DONE || next_state == REQUEST_STATE_RETRY_WRITE_OUTSTANDING &&
116+
assert((next_state == REQUEST_STATE_DONE || next_state == REQUEST_STATE_RETRY_WRITE_OUTSTANDING) &&
117117
"Invalid request state after read before write");
118118
state_ = next_state;
119119
break;

0 commit comments

Comments
 (0)