obuspa: 7.0.4.10

This commit is contained in:
Vivek Kumar Dutta 2023-10-18 13:35:28 +05:30
parent 063314c91d
commit b3de88d2c4
No known key found for this signature in database
GPG key ID: 65C818099F37097D
2 changed files with 13 additions and 1 deletions

View file

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=obuspa
PKG_VERSION:=7.0.4.9
PKG_VERSION:=7.0.4.10
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)

View file

@ -0,0 +1,12 @@
diff --git a/src/protobuf-c/protobuf-c.c b/src/protobuf-c/protobuf-c.c
index 3dc5473..0a6bde7 100644
--- a/src/protobuf-c/protobuf-c.c
+++ b/src/protobuf-c/protobuf-c.c
@@ -1926,6 +1926,7 @@ repeated_field_pack_to_buffer(const ProtobufCFieldDescriptor *field,
buffer->append(buffer, rv, scratch);
tmp = pack_buffer_packed_payload(field, count, array, buffer);
assert(tmp == payload_len);
+ (void)tmp; // Keep cmake production build happy
return rv + payload_len;
} else {
size_t siz;