aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2016-04-08 09:57:32 +0100
committerJon Skeet <jonskeet@google.com>2016-04-08 09:57:32 +0100
commit0a902ee0acabf15f7d5f21b4d6ea0574495488f6 (patch)
tree7415f8ec199c061aaee330b958a1204817a37f67
parent667f4a6282f9d7e7edb0acc8758e384b17a0359d (diff)
downloadprotobuf-0a902ee0acabf15f7d5f21b4d6ea0574495488f6.tar.gz
protobuf-0a902ee0acabf15f7d5f21b4d6ea0574495488f6.tar.bz2
protobuf-0a902ee0acabf15f7d5f21b4d6ea0574495488f6.zip
Fix to csharp_options - initialize internal_access to false.
-rw-r--r--src/google/protobuf/compiler/csharp/csharp_options.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_options.h b/src/google/protobuf/compiler/csharp/csharp_options.h
index f25812c8..426fb3b5 100644
--- a/src/google/protobuf/compiler/csharp/csharp_options.h
+++ b/src/google/protobuf/compiler/csharp/csharp_options.h
@@ -44,7 +44,8 @@ struct Options {
Options() :
file_extension(".cs"),
base_namespace(""),
- base_namespace_specified(false) {
+ base_namespace_specified(false),
+ internal_access(false) {
}
// Extension of the generated file. Defaults to ".cs"
string file_extension;