Commit e2461b5f authored by Daniel Kurka's avatar Daniel Kurka Committed by Adam Cozzette

Revert "Remove unused f expression from jscode gen. (#5573)"

The removed variable here is actually used breaking downstream bazel
builds.
parent e6779e9b
......@@ -2272,7 +2272,7 @@ void Generator::GenerateClassToObject(const GeneratorOptions& options,
" * @suppress {unusedLocalVariables} f is only used for nested messages\n"
" */\n"
"$classname$.toObject = function(includeInstance, msg) {\n"
" var obj = {",
" var f, obj = {",
"classname", GetMessagePath(options, desc));
bool first = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment