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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5e13be6  DISPATCH-1567: fix compilation errors on s390x platform
5e13be6 is described below

commit 5e13be6a5b5a0e16963abd07263637101564847f
Author: Kenneth Giusti <[email protected]>
AuthorDate: Thu Feb 13 17:06:22 2020 -0500

    DISPATCH-1567: fix compilation errors on s390x platform
    
    This closes #685
---
 src/parse_tree.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/parse_tree.c b/src/parse_tree.c
index 189f316..da12c4a 100644
--- a/src/parse_tree.c
+++ b/src/parse_tree.c
@@ -52,6 +52,9 @@ static void token_iterator_init(token_iterator_t *t,
                                 const char *str)
 {
     switch (type) {
+    default:  // See DISPATCH-1567: shuts up some bogus compiler warnings
+        assert(false);
+        // fall through
     case QD_PARSE_TREE_ADDRESS:
         t->separators = "./";   // accept either for backward compatibility
         t->match_1 = '*';


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to