Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Xiangquan <xiaoxiangquan@gmail.com>2011-08-12 17:43:21 +0400
committerXiao Xiangquan <xiaoxiangquan@gmail.com>2011-08-12 17:43:21 +0400
commit3a8c7be9e4740c5627c9e49eb50c3687a959d7e6 (patch)
tree2f6761091e091e914d258d0c7bbdfd6d4e1a8839 /source/blender/python/generic/blf_py_api.c
parentb99f7af35725255cafffb03555e8eb21e326797e (diff)
code clear, insert blf_gettext.c to blf.c
Diffstat (limited to 'source/blender/python/generic/blf_py_api.c')
-rw-r--r--source/blender/python/generic/blf_py_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/generic/blf_py_api.c b/source/blender/python/generic/blf_py_api.c
index a6bbb26be86..a389fda924e 100644
--- a/source/blender/python/generic/blf_py_api.c
+++ b/source/blender/python/generic/blf_py_api.c
@@ -381,7 +381,7 @@ static PyObject *py_blf_gettext(PyObject *UNUSED(self), PyObject *args)
{
char* msgid;
char* msgstr;
- char* error_handle;
+ char* error_handle=NULL;
if (!PyArg_ParseTuple(args, "s:blf.gettext", &msgid))
return NULL;
@@ -404,7 +404,7 @@ PyDoc_STRVAR(py_blf_fake_gettext_doc,
static PyObject *py_blf_fake_gettext(PyObject *UNUSED(self), PyObject *args)
{
char* msgid;
- char* error_handle;
+ char* error_handle = NULL;
if (!PyArg_ParseTuple(args, "s:blf.gettext", &msgid))
return NULL;