From: Zbigniew Jędrzejewski-Szmek Date: Mon, 9 May 2022 13:11:20 +0000 (+0200) Subject: basic/alloc-util: remove unnecessary parens X-Git-Tag: v251-rc3~21^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=96d651a22bf62e63080e489cb45e82bead11aa5d;p=thirdparty%2Fsystemd.git basic/alloc-util: remove unnecessary parens Those symbols are not macros anymore, so we can drop parens. --- diff --git a/src/basic/alloc-util.h b/src/basic/alloc-util.h index 9dde770dab8..155fbf5f1fa 100644 --- a/src/basic/alloc-util.h +++ b/src/basic/alloc-util.h @@ -55,8 +55,8 @@ typedef void* (*mfree_func_t)(void *p); typeof(a)* _a = &(a); \ typeof(b)* _b = &(b); \ free(*_a); \ - (*_a) = (*_b); \ - (*_b) = NULL; \ + *_a = *_b; \ + *_b = NULL; \ 0; \ })