mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
silence a compiler warning
This commit is contained in:
parent
e783d814e8
commit
e394bd4ba3
@ -26,7 +26,9 @@ do { \
|
|||||||
#define mprintf(...) \
|
#define mprintf(...) \
|
||||||
({ \
|
({ \
|
||||||
char *_str; \
|
char *_str; \
|
||||||
asprintf(&_str, __VA_ARGS__); \
|
int ret = asprintf(&_str, __VA_ARGS__); \
|
||||||
|
if (ret < 0) \
|
||||||
|
die("insufficient memory"); \
|
||||||
_str; \
|
_str; \
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user