diff options
author | Andrew Stitcher <astitcher@apache.org> | 2015-12-04 17:24:37 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2015-12-04 17:24:37 +0000 |
commit | 874382b2456ac58a53ea5154e932955b71885bfa (patch) | |
tree | 45e006217a496022ed017ba5af0c1cb4bbd4b65d | |
parent | 92325428ef23b9c942e9069bdb9259bdcf5d71b8 (diff) | |
download | qpid-python-874382b2456ac58a53ea5154e932955b71885bfa.tar.gz |
Fixup QPID-6924 to work if PN_INVALID is not legal as a case label
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1717997 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/broker/amqp/DataReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/amqp/DataReader.cpp b/qpid/cpp/src/qpid/broker/amqp/DataReader.cpp index 0c1d3a845c..f83eb03f13 100644 --- a/qpid/cpp/src/qpid/broker/amqp/DataReader.cpp +++ b/qpid/cpp/src/qpid/broker/amqp/DataReader.cpp @@ -146,7 +146,7 @@ void DataReader::readOne(pn_data_t* data) case PN_MAP: readMap(data, described ? &descriptor : 0); break; - case PN_INVALID: + default: break; } if (described) pn_data_exit(data); |