Skip to content

Commit

Permalink
Fixed clang pragmas.
Browse files Browse the repository at this point in the history
  • Loading branch information
esabol committed Nov 20, 2022
1 parent bcbb88c commit 9a38639
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libgearman-server/plugins/protocol/http/protocol.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
#define GEARMAND_PROTOCOL_HTTP_DEFAULT_PORT "8080"

#ifdef __clang__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wold-style-cast"
#pragma clang diagnostic ignored "-Wimplicit-fallthrough"
#elif defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
Expand Down

0 comments on commit 9a38639

Please sign in to comment.