This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] [python] Add two different initialization checks for frame filters


>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:

Phil>    if (iterable == NULL)
Phil> -    goto error;
Phil> +    goto cannot_initialize;
 
I think it's better to just inline the code here, rather than have a
label with a single "goto".

Otherwise this seems fine to me.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]