mirror of
https://github.com/google/flatbuffers.git
synced 2026-11-09 13:45:09 +00:00
Fix unused variable warnings
PiperOrigin-RevId: 1009737741
This commit is contained in:
committed by
Copybara-Service
parent
f58d5768f1
commit
4a4e553cd0
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user