Fix unused variable warnings

PiperOrigin-RevId: 1013194405
This commit is contained in:
Anshul Nigham
2026-11-03 13:20:59 -08:00
committed by Copybara-Service
parent f58d5768f1
commit 22d839f241
10 changed files with 0 additions and 25 deletions
-2
View File
@@ -2010,8 +2010,6 @@ class PythonGenerator : public BaseGenerator {
void InitializeFromPackedBuf(const StructDef& struct_def,
std::string* code_ptr) const {
auto& code = *code_ptr;
const auto struct_var = namer_.Variable(struct_def);
const auto struct_type = namer_.Type(struct_def);
code += GenIndents(1) + "@classmethod";
code += GenIndents(1) + "def InitFromPackedBuf(cls, buf, pos=0):";