summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@gmail.com>2020-02-13 20:13:18 +0100
committerBenjamin Franzke <benjaminfranzke@gmail.com>2020-02-13 20:13:29 +0100
commit261e27dea1f844a6e43cda489f4497cbd5dc480f (patch)
tree27882151402c849739338da197491b87c88545c2
parentf68dcacc8fa72e2de886a9f183d4656704f7f030 (diff)
downloadcmumble-261e27dea1f844a6e43cda489f4497cbd5dc480f.tar.gz
cmumble-261e27dea1f844a6e43cda489f4497cbd5dc480f.tar.bz2
cmumble-261e27dea1f844a6e43cda489f4497cbd5dc480f.zip
Specifiy protobuf syntax version
To avoid the following warning: [libprotobuf WARNING google/protobuf/compiler/parser.cc:562] No syntax specified for the proto file: mumble.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
-rw-r--r--src/mumble.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mumble.proto b/src/mumble.proto
index 16d54f5..aa12840 100644
--- a/src/mumble.proto
+++ b/src/mumble.proto
@@ -1,6 +1,8 @@
/* NOTE: Do not replace this file directly with future upstream Mumble.proto.
We derive the message id from the position in this file. */
+syntax = "proto2";
+
package MumbleProto;
option optimize_for = SPEED;