Add comment, silence warning
This commit is contained in:
@@ -212,6 +212,7 @@ void CLG_logref_init(CLG_LogRef *clg_ref);
|
||||
((void)CLOG_ENSURE(clg_ref), \
|
||||
((clg_ref)->type->flag & CLG_FLAG_USE) && ((clg_ref)->type->verbosity_level >= verbose_level))
|
||||
|
||||
/** log at severity WARNING or higher is always logged, even if not in use */
|
||||
#define CLOG_AT_SEVERITY(clg_ref, severity, verbose_level, ...) \
|
||||
{ \
|
||||
CLG_LogType *_lg_ty = CLOG_ENSURE(clg_ref); \
|
||||
|
@@ -1097,12 +1097,14 @@ static void rna_clog_log_verbosity_set(PointerRNA *UNUSED(ptr), int value)
|
||||
CLG_verbosity_level_set(value);
|
||||
}
|
||||
|
||||
static void rna_Userdef_log_filter_update(struct Main *main,
|
||||
struct Scene *scene,
|
||||
struct PointerRNA *ptr)
|
||||
/*
|
||||
static void rna_Userdef_log_filter_update(struct Main *UNUSED(main),
|
||||
struct Scene *UNUSED(scene),
|
||||
struct PointerRNA *UNUSED(ptr))
|
||||
{
|
||||
printf("Update!\n");
|
||||
}
|
||||
*/
|
||||
|
||||
static void rna_clog_log_filter_get(PointerRNA *ptr, char *value)
|
||||
{
|
||||
|
Reference in New Issue
Block a user