qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject [qpid-proton] branch master updated: NO-JIRA: [c] missing break in send-ssl.c example
Date Tue, 05 Mar 2019 19:16:39 GMT
This is an automated email from the ASF dual-hosted git repository.

astitcher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/master by this push:
     new 01d8859  NO-JIRA: [c] missing break in send-ssl.c example
01d8859 is described below

commit 01d88598ecccd8cd24bd02533bc476594412a1a0
Author: Jiří Daněk <jdanek@redhat.com>
AuthorDate: Thu Feb 21 17:51:49 2019 +0100

    NO-JIRA: [c] missing break in send-ssl.c example
    
        CID 214944 (#1 of 1): Missing break in switch (MISSING_BREAK)unterminated_case: The
case for value
        PN_CONNECTION_REMOTE_OPEN is not terminated by a 'break' statement.
---
 c/examples/send-ssl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/c/examples/send-ssl.c b/c/examples/send-ssl.c
index 76e66a9..c8b9e0c 100644
--- a/c/examples/send-ssl.c
+++ b/c/examples/send-ssl.c
@@ -134,6 +134,7 @@ static bool handle(app_data_t* app, pn_event_t* event) {
        printf("secure connection: %s\n", name);
        fflush(stdout);
      }
+     break;
    }
 
    case PN_LINK_FLOW: {


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


Mime
View raw message