diff options
Diffstat (limited to 'AppPkg/Applications/Python/Python-2.7.2/Objects/object.c')
-rw-r--r-- | AppPkg/Applications/Python/Python-2.7.2/Objects/object.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Objects/object.c b/AppPkg/Applications/Python/Python-2.7.2/Objects/object.c index 2fd38437c6..2cdc043c77 100644 --- a/AppPkg/Applications/Python/Python-2.7.2/Objects/object.c +++ b/AppPkg/Applications/Python/Python-2.7.2/Objects/object.c @@ -470,11 +470,11 @@ PyObject_Str(PyObject *v) PyObject *
PyObject_Unicode(PyObject *v)
{
- PyObject *res;
- PyObject *func;
- PyObject *str;
+ PyObject *res = NULL;
+ PyObject *func = NULL;
+ PyObject *str = NULL;
int unicode_method_found = 0;
- static PyObject *unicodestr;
+ static PyObject *unicodestr = NULL;
if (v == NULL) {
res = PyString_FromString("<NULL>");
|