浏览代码

Remove unused output_file variable from js_embed

The js_embed tool outputs to stdout, so the output_file variable is
unnecessary and unused.
Garret Kelly 8 年之前
父节点
当前提交
7ccb251be6
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/google/protobuf/compiler/js/embed.cc

+ 0 - 2
src/google/protobuf/compiler/js/embed.cc

@@ -34,8 +34,6 @@
 #include <iostream>
 #include <iostream>
 #include <string>
 #include <string>
 
 
-const char output_file[] = "well_known_types_embed.cc";
-
 static bool AsciiIsPrint(unsigned char c) {
 static bool AsciiIsPrint(unsigned char c) {
   return c >= 32 && c < 127;
   return c >= 32 && c < 127;
 }
 }