code cleanup:

- remove unused defines.
- quiet some shadow warnings.
- bevel, ifdef out some asserts that are too common.
- style
This commit is contained in:
Campbell Barton
2013-03-25 02:41:30 +00:00
parent 153eea5f23
commit e1a54214bb
34 changed files with 100 additions and 89 deletions

View File

@@ -1085,7 +1085,7 @@ inline VideoFFmpeg * getVideoFFmpeg (PyImage *self)
// object initialization
static int VideoFFmpeg_init (PyObject *pySelf, PyObject *args, PyObject *kwds)
static int VideoFFmpeg_init(PyObject *pySelf, PyObject *args, PyObject *kwds)
{
PyImage *self = reinterpret_cast<PyImage*>(pySelf);
// parameters - video source
@@ -1243,7 +1243,7 @@ PyTypeObject VideoFFmpegType =
};
// object initialization
static int ImageFFmpeg_init (PyObject *pySelf, PyObject *args, PyObject *kwds)
static int ImageFFmpeg_init(PyObject *pySelf, PyObject *args, PyObject *kwds)
{
PyImage *self = reinterpret_cast<PyImage*>(pySelf);
// parameters - video source