mirror of
https://github.com/zeromq/libzmq.git
synced 2025-07-02 08:53:32 +02:00
Problem: formatting issues in the CI
Solution: commit clang-format-diff
This commit is contained in:
parent
fef99d6c50
commit
8d544ef1c4
@ -32,16 +32,18 @@
|
||||
*/
|
||||
#include "platform.hpp"
|
||||
|
||||
#if defined (ZMQ_USE_TWEETNACL)
|
||||
#if defined(ZMQ_USE_TWEETNACL)
|
||||
|
||||
/*
|
||||
Disable warnings for this source only, rather than for the whole
|
||||
codebase when building with C99 (gcc >= 4.2) or with Microsoft's compiler
|
||||
*/
|
||||
#if defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) && __STDC_VERSION__ < 201112L
|
||||
# pragma GCC diagnostic ignored "-Wsign-compare"
|
||||
#if defined __GNUC__ \
|
||||
&& (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) \
|
||||
&& __STDC_VERSION__ < 201112L
|
||||
#pragma GCC diagnostic ignored "-Wsign-compare"
|
||||
#elif defined _MSC_VER
|
||||
# pragma warning (disable:4018 4244 4146)
|
||||
#pragma warning(disable : 4018 4244 4146)
|
||||
#endif
|
||||
|
||||
// clang-format off
|
||||
|
@ -685,7 +685,7 @@ const char *zmq_msg_gets (const zmq_msg_t *msg_, const char *property_)
|
||||
}
|
||||
}
|
||||
|
||||
// Polling.
|
||||
// Polling.
|
||||
|
||||
#if defined ZMQ_HAVE_POLLER
|
||||
inline int zmq_poller_poll (zmq_pollitem_t *items_, int nitems_, long timeout_)
|
||||
|
Loading…
x
Reference in New Issue
Block a user