[PATCH] Initialize `location' in gdbpy_decode_line
Wed Aug 12 18:32:00 GMT 2015
On 08/12/2015 10:45 AM, Doug Evans wrote:
> On Wed, Aug 12, 2015 at 10:38 AM, Keith Seitz <email@example.com> wrote:
>> BuildBot flagged an uninitialized variable coming from one of the patches
>> in my recently committed locations/explicit patchset.
>> The following patch fixes this.
>> * python/python.c (gdbpy_decode_line): Initialize `location' to NULL
>> and only call decode_line_1 when it is non-NULL.
I've pushed this. Thank you, Doug.
More information about the Gdb-patches