Skip to content

Commit

Permalink
PROTON-2787: Resolve Clang 16 compilation warnings (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek authored Dec 24, 2023
1 parent 5b27d07 commit 62f8909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c/tests/raw_wake_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ struct basic_test {
int drain_events() {
int ec = 0;
pn_event_batch_t *batch = NULL;
while (batch = pn_proactor_get(p.get())) {
while ((batch = pn_proactor_get(p.get()))) {
pn_event_t *e;
while (e = pn_event_batch_next(batch)) {
while ((e = pn_event_batch_next(batch))) {
ec++;
h.dispatch(e);
}
Expand Down

0 comments on commit 62f8909

Please sign in to comment.