aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Garret Kelly <gdk@google.com>2017-06-05 15:57:31 -0400
committerGravatar Garret Kelly <gdk@google.com>2017-06-05 15:57:31 -0400
commit7ccb251be68fc44a1a42c14d2bb403462d0f5ca2 (patch)
treeaa72ee6e325c0e5a756f18f95feb7e54f32bee4f
parent6f325805c0bc956f927b0e2dbfb4dd8133b4ed69 (diff)
Remove unused output_file variable from js_embed
The js_embed tool outputs to stdout, so the output_file variable is unnecessary and unused.
-rw-r--r--src/google/protobuf/compiler/js/embed.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/google/protobuf/compiler/js/embed.cc b/src/google/protobuf/compiler/js/embed.cc
index a725b62e..f0f946e5 100644
--- a/src/google/protobuf/compiler/js/embed.cc
+++ b/src/google/protobuf/compiler/js/embed.cc
@@ -34,8 +34,6 @@
#include <iostream>
#include <string>
-const char output_file[] = "well_known_types_embed.cc";
-
static bool AsciiIsPrint(unsigned char c) {
return c >= 32 && c < 127;
}