qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tr...@apache.org
Subject qpid-dispatch git commit: NO-JIRA - Remove unreachable code - PR from Chuck Rolke This closes #155
Date Mon, 10 Jul 2017 13:40:04 GMT
Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 50637b770 -> 93972821f


NO-JIRA - Remove unreachable code - PR from Chuck Rolke
This closes #155


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/93972821
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/93972821
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/93972821

Branch: refs/heads/master
Commit: 93972821f8b18b09a65d3cbe7bd58cc3d24ae5d9
Parents: 50637b7
Author: Ted Ross <tross@redhat.com>
Authored: Mon Jul 10 09:38:43 2017 -0400
Committer: Ted Ross <tross@redhat.com>
Committed: Mon Jul 10 09:38:43 2017 -0400

----------------------------------------------------------------------
 src/message.c | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/93972821/src/message.c
----------------------------------------------------------------------
diff --git a/src/message.c b/src/message.c
index 434857b..2dbe9ee 100644
--- a/src/message.c
+++ b/src/message.c
@@ -718,8 +718,6 @@ static qd_field_location_t *qd_message_properties_field(qd_message_t *msg,
qd_me
         if (!qd_message_check(msg, QD_DEPTH_PROPERTIES) || !content->section_message_properties.parsed)
             return 0;
     }
-    if (field == QD_FIELD_PROPERTIES)
-        return &content->section_message_properties;
 
     const int index = field - QD_FIELD_MESSAGE_ID;
     qd_field_location_t *const location = (qd_field_location_t *)((char *)content + offsets[index]);


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


Mime
View raw message