Skip to content
Snippets Groups Projects
Commit 71e457f6 authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Remove unused unpack_bit_str macro.

parent 6391002e
No related branches found
No related tags found
No related merge requests found
......@@ -294,21 +294,6 @@ int unpackmem_array(char *valp, uint32_t size_valp, Buf buffer);
pack32(NO_VAL, buf); \
} while (0)
#define unpack_bit_str(bitmap,buf) do { \
char *tmp_str = NULL; \
uint32_t _size = NO_VAL; \
assert(*bitmap == NULL); \
assert(buf->magic == BUF_MAGIC); \
safe_unpack32(&_size, buf); \
if (_size != NO_VAL) { \
*bitmap = bit_alloc(_size); \
safe_unpackstr_xmalloc(&tmp_str, &_size, buf); \
bit_unfmt(*bitmap, tmp_str); \
xfree(tmp_str); \
} else \
*bitmap = NULL; \
} while (0)
#define pack_bit_str_hex(bitmap,buf) do { \
assert(buf->magic == BUF_MAGIC); \
if (bitmap) { \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment