From 96d651a22bf62e63080e489cb45e82bead11aa5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 9 May 2022 15:11:20 +0200 Subject: [PATCH] basic/alloc-util: remove unnecessary parens Those symbols are not macros anymore, so we can drop parens. --- src/basic/alloc-util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/basic/alloc-util.h b/src/basic/alloc-util.h index 9dde770dab..155fbf5f1f 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; \ })