Eric Blake <ebl...@redhat.com> writes:

> On 02/01/2016 05:31 AM, Markus Armbruster wrote:
>
>>> |+    visit_start_struct(v, NULL, NULL, "ACPI_DEVICE_OST", 0, &err);
>>> |     if (err) {
>>> |         goto out;
>>> |     }
>>> |     visit_type_ACPIOSTInfo(v, &info, "info", &err);
>>> |     if (err) {
>>> |-        goto out;
>>> |+        goto out_obj;
>>> |     }
>>> |-    visit_end_struct(v, &err);
>>> |+out_obj:
>>> |+    visit_end_struct(v, err ? NULL : &err);
>> 
>> Slightly awkward example, because out_obj is pointless in this
>> degenerated case.  You could pick one with multiple members (thus
>> multiple goto out_obj), or do pseudo-code hinting at multiple members.
>
> DEVICE_DELETED, DEVICE_TRAY_MOVED, MEM_UNPLUG_ERROR,
> NET_RX_FILTER_CHANGED, and SPICE_CONNECTED are nice candidates (two
> members instead of one).  Do you want to take care of redoing any
> portion of the commit message?

Can do.  Unless something comes along that requires a respin.

Reply via email to