Fix unused variable warnings

PiperOrigin-RevId: 1009980554
This commit is contained in:
Anshul Nigham
2026-10-29 15:19:28 -07:00
committed by Copybara-Service
parent f58d5768f1
commit 4b68eb7e31
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):";