Skip to content

Commit

Permalink
Merge pull request #10385 from marjoleinheyndrickx/main
Browse files Browse the repository at this point in the history
Fix Wpedantic warning 'extra ;' for c++
  • Loading branch information
fowles authored Aug 17, 2022
2 parents bc1b310 + 8335ad0 commit 4dbf4e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/google/protobuf/descriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ namespace internal {
//

#if !defined(PROTOBUF_INTERNAL_CHECK_CLASS_SIZE)
#define PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(t, expected)
#define PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(t, expected) static_assert(true, "")
#endif

class FlatAllocator;
Expand Down
2 changes: 1 addition & 1 deletion src/google/protobuf/parse_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ RotRight7AndReplaceLowByte(uint64_t res, const char& byte) {
res |= 0xFF & byte;
#endif
return res;
};
}

inline PROTOBUF_ALWAYS_INLINE
const char* ReadTagInlined(const char* ptr, uint32_t* out) {
Expand Down

0 comments on commit 4dbf4e5

Please sign in to comment.