Remove unused types

They're not doing anything, so might as well get rid of them.
pull/5297/head
Brian Silverman 7 years ago
parent 63d2f3bc80
commit 7834dbf820
  1. 2
      src/google/protobuf/extension_set.cc
  2. 1
      src/google/protobuf/stubs/common.cc

@ -280,7 +280,7 @@ void ExtensionSet::ClearExtension(int number) {
namespace { namespace {
enum Cardinality { enum {
REPEATED, REPEATED,
OPTIONAL OPTIONAL
}; };

@ -342,7 +342,6 @@ uint32 ghtonl(uint32 x) {
namespace internal { namespace internal {
typedef void OnShutdownFunc();
struct ShutdownData { struct ShutdownData {
~ShutdownData() { ~ShutdownData() {
std::reverse(functions.begin(), functions.end()); std::reverse(functions.begin(), functions.end());

Loading…
Cancel
Save