Prepare for '-Wimplicit-fallthrough'
[lttng-tools.git] / src / bin / lttng-sessiond / event-notifier-error-accounting.cpp
index 49a54ff50ad28990fd19f1bac29b1c0830ed6868..138d51b4df2fd2823979f32f3eec7c2ad08e74eb 100644 (file)
@@ -981,6 +981,9 @@ event_notifier_error_accounting_register_kernel(
                                LTTNG_KERNEL_ABI_COUNTER_BITNESS_64,
                .number_dimensions = 1,
                .global_sum_step = 0,
+               .dimensions = {},
+               .coalesce_hits = 0,
+               .padding = {},
        };
        error_counter_conf.dimensions[0].size = kernel_state.number_indices;
        error_counter_conf.dimensions[0].has_underflow = false;
@@ -1118,8 +1121,8 @@ event_notifier_error_accounting_register_event_notifier(
                                        trigger_name, trigger_owner_uid);
                        goto end;
                }
-               /* fall-through. */
        }
+       /* fall-through. */
        case EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_OK:
                *error_counter_index = local_error_counter_index;
                status = EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_OK;
This page took 0.038867 seconds and 4 git commands to generate.