From 31594462cabd1148f94aea7c2064ba0564568316 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 12 Nov 2012 19:24:14 +0000 Subject: * python/python.c (start_type_printers): Initialize 'result_obj'. --- gdb/python/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python/python.c') diff --git a/gdb/python/python.c b/gdb/python/python.c index 359d238..5f6df60 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -1189,7 +1189,7 @@ void * start_type_printers (void) { struct cleanup *cleanups; - PyObject *type_module, *func, *result_obj; + PyObject *type_module, *func, *result_obj = NULL; cleanups = ensure_python_env (get_current_arch (), current_language); -- cgit v1.1