mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 16:57:52 +00:00
* python/py-value.c (valpy_binop): Initialize 'res_val'.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2012-01-04 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* python/py-value.c (valpy_binop): Initialize 'res_val'.
|
||||||
|
|
||||||
2012-01-04 Joel Brobecker <brobecker@adacore.com>
|
2012-01-04 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* corefile.c (close_exec_file): Delete.
|
* corefile.c (close_exec_file): Delete.
|
||||||
|
|||||||
@@ -725,7 +725,7 @@ valpy_binop (enum valpy_opcode opcode, PyObject *self, PyObject *other)
|
|||||||
{
|
{
|
||||||
struct value *arg1, *arg2;
|
struct value *arg1, *arg2;
|
||||||
struct cleanup *cleanup = make_cleanup_value_free_to_mark (value_mark ());
|
struct cleanup *cleanup = make_cleanup_value_free_to_mark (value_mark ());
|
||||||
struct value *res_val;
|
struct value *res_val = NULL;
|
||||||
|
|
||||||
/* If the gdb.Value object is the second operand, then it will be passed
|
/* If the gdb.Value object is the second operand, then it will be passed
|
||||||
to us as the OTHER argument, and SELF will be an entirely different
|
to us as the OTHER argument, and SELF will be an entirely different
|
||||||
|
|||||||
Reference in New Issue
Block a user