Fixed/suppressed remaining warnings from the python bindings

This commit is contained in:
Andrey Kamaev
2012-04-10 15:50:19 +00:00
parent c712f376d5
commit a13f03f61e
2 changed files with 8 additions and 4 deletions

View File

@@ -545,7 +545,7 @@ static PyObject *cvmat_array_struct(cvmat_t *cva)
static PyObject *cvmatnd_array_struct(cvmatnd_t *cva)
{
CvMatND *m;
CvMatND *m = 0;
convert_to_CvMatND((PyObject *)cva, &m, "");
arrayTrack *at = new arrayTrack;
@@ -693,7 +693,7 @@ static size_t cvmatnd_size(CvMatND *m)
static PyObject *cvmatnd_tostring(PyObject *self, PyObject *args)
{
CvMatND *m;
CvMatND *m = 0;
if (!convert_to_CvMatND(self, &m, "self"))
return NULL;