Cleanup: Use `NDEBUG` define, `DEBUG` one is not reliable.
This commit is contained in:
parent
15ffda3bcd
commit
9b3dabacbc
|
@ -1303,7 +1303,7 @@ PropertyRNA *RNA_def_property(StructOrFunctionRNA *cont_,
|
|||
rna_addtail(&dcont->properties, dprop);
|
||||
}
|
||||
else {
|
||||
#ifdef DEBUG
|
||||
#ifndef NDEBUG
|
||||
char error[512];
|
||||
if (rna_validate_identifier(identifier, error, true) == 0) {
|
||||
CLOG_ERROR(&LOG,
|
||||
|
|
Loading…
Reference in New Issue