From a4dc4357e29f673574b804713740184306a162b6 Mon Sep 17 00:00:00 2001 From: terencehill Date: Fri, 30 Mar 2018 15:31:47 +0200 Subject: [PATCH] Remove redundant code from ATTRIB_3 --- qcsrc/lib/oo.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/lib/oo.qh b/qcsrc/lib/oo.qh index f57bf8e90..bd1d34666 100644 --- a/qcsrc/lib/oo.qh +++ b/qcsrc/lib/oo.qh @@ -237,7 +237,7 @@ STATIC_INIT(RegisterClasses) #define ATTRIB(...) EVAL_ATTRIB(OVERLOAD_(ATTRIB, __VA_ARGS__)) #define EVAL_ATTRIB(...) __VA_ARGS__ -#define ATTRIB_3(cname, name, type) INIT(cname) {} class(cname) .type name +#define ATTRIB_3(cname, name, type) class(cname) .type name #define ATTRIB_4(cname, name, type, val) \ ATTRIB_3(cname, name, type); \ INIT(cname) \ -- 2.39.2