* python/python.c (start_type_printers): Initialize 'result_obj'.

This commit is contained in:
Tom Tromey
2012-11-12 19:24:14 +00:00
parent 18a9fc1261
commit 31594462ca
2 changed files with 5 additions and 1 deletions

View File

@ -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);