Run through Clang's bugprone-macro-parentheses
This commit is contained in:
@@ -132,7 +132,7 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
|
||||
// check for missing pointer assignements
|
||||
|
||||
#define CHECK_DEFINED(func) \
|
||||
if (func == NULL) \
|
||||
if ((func) == NULL) \
|
||||
{ \
|
||||
event_log_error (hashcat_ctx, "Missing symbol definitions. Old template?"); \
|
||||
\
|
||||
@@ -211,7 +211,7 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
|
||||
// mandatory functions check
|
||||
|
||||
#define CHECK_MANDATORY(func) \
|
||||
if (func == MODULE_DEFAULT) \
|
||||
if ((func) == MODULE_DEFAULT) \
|
||||
{ \
|
||||
event_log_error (hashcat_ctx, "Missing mandatory symbol definitions"); \
|
||||
\
|
||||
|
||||
Reference in New Issue
Block a user