Cleanup: -Wmissing-braces compiler warning
Pull Request: https://projects.blender.org/blender/blender/pulls/112680
This commit is contained in:
committed by
Sergey Sharybin
parent
f292cd6823
commit
e807bf23f1
@@ -8754,7 +8754,7 @@ static int bpy_class_call(bContext *C, PointerRNA *ptr, FunctionRNA *func, Param
|
||||
/* Create a temporary report list so none of the reports are printed (only stored).
|
||||
* Only do this when reports is non-null because the error is printed to the `stderr`
|
||||
* #PyErr_Print below. */
|
||||
ReportList reports_temp = {0};
|
||||
ReportList reports_temp = {{0}};
|
||||
BKE_reports_init(&reports_temp, reports->flag | RPT_PRINT_HANDLED_BY_OWNER);
|
||||
reports_temp.storelevel = reports->storelevel;
|
||||
BPy_errors_to_report(&reports_temp);
|
||||
|
||||
Reference in New Issue
Block a user