13
0

Fix -Waddress (and expand tabs)

The expansion of the macro resulted in:
"the comparison will always evaluate as 'true' for the address of .."
This commit is contained in:
Robin Gareus 2024-04-24 18:06:27 +02:00
parent 8ea3a14cd6
commit b00ddcfe1c
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -556,19 +556,19 @@ typedef struct _aafData {
*/ */
#define aafUIDCmp(auid1, auid2) \ #define aafUIDCmp(auid1, auid2) \
((auid1) != NULL && \ ((auid1) != NULL && \
((auid2)) != NULL && \ (auid2) != NULL && \
(auid1)->Data1 == (auid2)->Data1 && \ (auid1)->Data1 == (auid2)->Data1 && \
(auid1)->Data2 == (auid2)->Data2 && \ (auid1)->Data2 == (auid2)->Data2 && \
(auid1)->Data3 == (auid2)->Data3 && \ (auid1)->Data3 == (auid2)->Data3 && \
(auid1)->Data4[0] == (auid2)->Data4[0] && \ (auid1)->Data4[0] == (auid2)->Data4[0] && \
(auid1)->Data4[1] == (auid2)->Data4[1] && \ (auid1)->Data4[1] == (auid2)->Data4[1] && \
(auid1)->Data4[2] == (auid2)->Data4[2] && \ (auid1)->Data4[2] == (auid2)->Data4[2] && \
(auid1)->Data4[3] == (auid2)->Data4[3] && \ (auid1)->Data4[3] == (auid2)->Data4[3] && \
(auid1)->Data4[4] == (auid2)->Data4[4] && \ (auid1)->Data4[4] == (auid2)->Data4[4] && \
(auid1)->Data4[5] == (auid2)->Data4[5] && \ (auid1)->Data4[5] == (auid2)->Data4[5] && \
(auid1)->Data4[6] == (auid2)->Data4[6] && \ (auid1)->Data4[6] == (auid2)->Data4[6] && \
(auid1)->Data4[7] == (auid2)->Data4[7]) (auid1)->Data4[7] == (auid2)->Data4[7])
/** /**
* Compares two aafMobID_t, returns 1 if equal or 0 otherwise. * Compares two aafMobID_t, returns 1 if equal or 0 otherwise.