Fix unused variable warnings

PiperOrigin-RevId: 1009737741
This commit is contained in:
Anshul Nigham
2026-11-03 09:27:51 -08:00
committed by Copybara-Service
parent f58d5768f1
commit 4a4e553cd0
10 changed files with 0 additions and 25 deletions
-2
View File
@@ -966,8 +966,6 @@ class KotlinGenerator : public BaseGenerator {
auto bbgetter = ByteBufferGetter(field.value.type, "bb");
auto ucast = CastToUsigned(field);
auto offset_val = NumToString(field.value.offset);
auto offset_prefix =
"val o = __offset(" + offset_val + "); return o != 0 ? ";
auto value_base_type = field.value.type.base_type;
// Most field accessors need to retrieve and test the field offset
// first, this is the offset value for that: