Remove unused types

They're not doing anything, so might as well get rid of them.
pull/5297/head
Brian Silverman 6 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 {
enum Cardinality {
enum {
REPEATED,
OPTIONAL
};

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

Loading…
Cancel
Save