Skip to content

Commit 47ddcf7

Browse files
committed
Fix ibrary.c:1541:9: warning: unused variable 'sz' + 'val8'
1 parent 7634db4 commit 47ddcf7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,8 +1538,10 @@ redis_serialize(RedisSock *redis_sock, zval *z, char **val, int *val_len TSRMLS_
15381538
#endif
15391539
smart_str sstr = {0};
15401540
zval *z_copy;
1541+
#ifdef HAVE_REDIS_IGBINARY
15411542
size_t sz;
15421543
uint8_t *val8;
1544+
#endif
15431545

15441546
switch(redis_sock->serializer) {
15451547
case REDIS_SERIALIZER_NONE:

0 commit comments

Comments
 (0)