You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by cl...@apache.org on 2023/03/24 18:55:10 UTC

[qpid-proton] branch main updated: PROTON-2696: fix clang warning/error on new raw connection test

This is an automated email from the ASF dual-hosted git repository.

cliffjansen 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 229ae1dff PROTON-2696: fix clang warning/error on new raw connection test
229ae1dff is described below

commit 229ae1dffc0b3999b50005767ad92a051fd8fe93
Author: Clifford Jansen <cl...@apache.org>
AuthorDate: Fri Mar 24 11:47:38 2023 -0700

    PROTON-2696: fix clang warning/error on new raw connection test
---
 c/tests/raw_connection_test.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/c/tests/raw_connection_test.cpp b/c/tests/raw_connection_test.cpp
index 9f5a9b72e..39c7d4e32 100644
--- a/c/tests/raw_connection_test.cpp
+++ b/c/tests/raw_connection_test.cpp
@@ -843,12 +843,11 @@ TEST_CASE("raw connection") {
 namespace {
 
 class common_handler : public handler {
-  handler *accept_; // Handler for accepted connections
   bool close_on_wake_;
   pn_raw_connection_t *last_server_;
 
 public:
-  explicit common_handler(handler *accept = 0) : accept_(accept), close_on_wake_(false), last_server_(0) {}
+  explicit common_handler() : close_on_wake_(false), last_server_(0) {}
 
   void set_close_on_wake(bool b) { close_on_wake_ = b; }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org