This is an automated email from the ASF dual-hosted git repository.
jdanek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/main by this push:
new 62f8909b5 PROTON-2787: Resolve Clang 16 compilation warnings (#416)
62f8909b5 is described below
commit 62f8909b5cc8e24e089be2411f1d256eb7330cbb
Author: Jiri Daněk <[email protected]>
AuthorDate: Sun Dec 24 20:27:16 2023 +0100
PROTON-2787: Resolve Clang 16 compilation warnings (#416)
---
c/tests/raw_wake_test.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/c/tests/raw_wake_test.cpp b/c/tests/raw_wake_test.cpp
index 80ddc2028..fee780b15 100644
--- a/c/tests/raw_wake_test.cpp
+++ b/c/tests/raw_wake_test.cpp
@@ -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);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]