You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-06-15 03:21:42 +03:00
Set minimal GCC version to 5 to ignore -Wunused-result
This commit is contained in:
@ -966,7 +966,7 @@ void InetStreamSocket::connect(const sockaddr* serv_addr)
|
||||
char buf = '\0';
|
||||
(void)::recv(socketParms().sd(), &buf, 1, 0);
|
||||
#else
|
||||
#if defined(__GNUC__) && __GNUC__ >= 6
|
||||
#if defined(__GNUC__) && __GNUC__ >= 5
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||
char buf = '\0';
|
||||
|
Reference in New Issue
Block a user