You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +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';
|
char buf = '\0';
|
||||||
(void)::recv(socketParms().sd(), &buf, 1, 0);
|
(void)::recv(socketParms().sd(), &buf, 1, 0);
|
||||||
#else
|
#else
|
||||||
#if defined(__GNUC__) && __GNUC__ >= 6
|
#if defined(__GNUC__) && __GNUC__ >= 5
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wunused-result"
|
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||||
char buf = '\0';
|
char buf = '\0';
|
||||||
|
Reference in New Issue
Block a user