From: Pavan Deolasee Date: Tue, 15 Mar 2016 06:30:52 +0000 (+0530) Subject: Re-add incorrectly removed call to consume txn_count during compiler warning X-Git-Tag: XL9_5_R1BETA2~19 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=b30dfb3368827ec5c290e11e7cb64f0560ae0e0b;p=postgres-xl.git Re-add incorrectly removed call to consume txn_count during compiler warning cleanups --- diff --git a/src/gtm/proxy/proxy_main.c b/src/gtm/proxy/proxy_main.c index 5c0eefb149..871280fa89 100644 --- a/src/gtm/proxy/proxy_main.c +++ b/src/gtm/proxy/proxy_main.c @@ -2163,7 +2163,10 @@ ProcessSnapshotCommand(GTMProxy_ConnectionInfo *conninfo, GTM_Conn *gtm_conn, case MSG_SNAPSHOT_GET_MULTI: { { - const char *data = pq_getmsgbytes(message, + const char *data; + + (void) pq_getmsgint(message, sizeof (int)); + data = pq_getmsgbytes(message, sizeof (GlobalTransactionId)); if (data == NULL) ereport(ERROR,