hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject incubator-hawq git commit: HAWQ-1226. fix compile error under gcc 4.8.2
Date Wed, 21 Dec 2016 10:16:10 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master acb45aa0a -> 9a25e2c90


HAWQ-1226. fix compile error under gcc 4.8.2


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/9a25e2c9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/9a25e2c9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/9a25e2c9

Branch: refs/heads/master
Commit: 9a25e2c907e687b517916a026f35171c26757196
Parents: acb45aa
Author: interma <interma@outlook.com>
Authored: Wed Dec 21 17:53:50 2016 +0800
Committer: Wen Lin <wlin@pivotal.io>
Committed: Wed Dec 21 18:15:21 2016 +0800

----------------------------------------------------------------------
 src/backend/libpq/be-secure.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/9a25e2c9/src/backend/libpq/be-secure.c
----------------------------------------------------------------------
diff --git a/src/backend/libpq/be-secure.c b/src/backend/libpq/be-secure.c
index c3e4b91..7e6d6ae 100644
--- a/src/backend/libpq/be-secure.c
+++ b/src/backend/libpq/be-secure.c
@@ -318,8 +318,7 @@ rloop:
  * This function holds an interrupt before reporting this error to avoid
  * a self deadlock situation, see MPP-13718 for more info.
  */
-
-/* no used now, avoid compile warnning
+/* here is a warning on gcc 4.8.5 */
 static void
 report_commerror(const char *err_msg)
 {
@@ -331,7 +330,6 @@ report_commerror(const char *err_msg)
 
 	RESUME_INTERRUPTS();
 }
-*/
 
 /*
  *	Write data to a secure connection.


Mime
View raw message