]> git.ozlabs.org Git - petitboot/blobdiff - lib/pb-protocol/pb-protocol.c
lib/pb-protocol: suppress warning for unused buf_len arg
[petitboot] / lib / pb-protocol / pb-protocol.c
index 54dfbf4e1f4e9469f627351268447f426d6afd9e..fdf24471377160e9a3c51abb87c4197e4e034e1c 100644 (file)
@@ -210,6 +210,7 @@ int pb_protocol_serialise_device(const struct device *dev, char *buf, int buf_le
        }
 
        assert(pos <= buf + buf_len);
+       (void)buf_len;
 
        return 0;
 }