qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject [2/3] qpid-proton git commit: NO-JIRA: Removed totally unused parser member from pn_message.
Date Thu, 15 Sep 2016 14:55:36 GMT
NO-JIRA: Removed totally unused parser member from pn_message.


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

Branch: refs/heads/master
Commit: 477d53b6299515cd7950845b2869b5cebe6e02fa
Parents: 12a6e4d
Author: Andrew Stitcher <astitcher@apache.org>
Authored: Tue Aug 30 10:49:51 2016 -0400
Committer: Andrew Stitcher <astitcher@apache.org>
Committed: Thu Sep 15 09:54:50 2016 -0400

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


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/477d53b6/proton-c/src/message/message.c
----------------------------------------------------------------------
diff --git a/proton-c/src/message/message.c b/proton-c/src/message/message.c
index cb163d1..15d9c6c 100644
--- a/proton-c/src/message/message.c
+++ b/proton-c/src/message/message.c
@@ -54,7 +54,6 @@ struct pn_message_t {
   pn_data_t *properties;
   pn_data_t *body;
 
-  pn_parser_t *parser;
   pn_error_t *error;
 
   pn_sequence_t group_sequence;
@@ -86,7 +85,6 @@ void pn_message_finalize(void *obj)
   pn_data_free(msg->annotations);
   pn_data_free(msg->properties);
   pn_data_free(msg->body);
-  pn_parser_free(msg->parser);
   pn_error_free(msg->error);
 }
 
@@ -334,7 +332,6 @@ pn_message_t *pn_message()
   msg->properties = pn_data(16);
   msg->body = pn_data(16);
 
-  msg->parser = NULL;
   msg->error = pn_error();
   return msg;
 }
@@ -397,15 +394,6 @@ int pn_message_set_inferred(pn_message_t *msg, bool inferred)
   return 0;
 }
 
-pn_parser_t *pn_message_parser(pn_message_t *msg)
-{
-  assert(msg);
-  if (!msg->parser) {
-    msg->parser = pn_parser();
-  }
-  return msg->parser;
-}
-
 bool pn_message_is_durable(pn_message_t *msg)
 {
   assert(msg);


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


Mime
View raw message