Remove gcc compiler warnings from various files.
This commit is contained in:
@@ -213,7 +213,6 @@ static PyObject *M_Camera_New( PyObject * self, PyObject * args,
|
||||
static char *kwlist[] = { "type_str", "name_str", NULL };
|
||||
PyObject *pycam; /* for Camera Data object wrapper in Python */
|
||||
Camera *blcam; /* for actual Camera Data we create in Blender */
|
||||
char buf[21];
|
||||
|
||||
/* Parse the arguments passed in by the Python interpreter */
|
||||
if( !PyArg_ParseTupleAndKeywords( args, kwords, "|ss", kwlist,
|
||||
|
||||
@@ -352,7 +352,6 @@ PyTypeObject Group_Type = {
|
||||
PyObject *M_Group_New( PyObject * self, PyObject * args )
|
||||
{
|
||||
char *name = "Group";
|
||||
char buf[21];
|
||||
BPy_Group *py_group; /* for Group Data object wrapper in Python */
|
||||
struct Group *bl_group;
|
||||
|
||||
|
||||
@@ -7857,7 +7857,6 @@ static PyObject *M_Mesh_New( PyObject * self_unused, PyObject * args )
|
||||
char *name = "Mesh";
|
||||
Mesh *mesh;
|
||||
BPy_Mesh *obj;
|
||||
char buf[21];
|
||||
|
||||
if( !PyArg_ParseTuple( args, "|s", &name ) )
|
||||
return EXPP_ReturnPyObjError( PyExc_TypeError,
|
||||
|
||||
@@ -77,6 +77,7 @@
|
||||
#include "IDProp.h"
|
||||
#include "constant.h"
|
||||
#include "gen_utils.h"
|
||||
#include "gen_library.h"
|
||||
|
||||
extern void countall(void);
|
||||
|
||||
|
||||
@@ -144,7 +144,6 @@ static PyObject *Text_repr( BPy_Text * self );
|
||||
static PyObject *M_Text_New( PyObject * self, PyObject * args)
|
||||
{
|
||||
char *name = "Text";
|
||||
char buf[21];
|
||||
int follow = 0;
|
||||
Text *bl_text; /* blender text object */
|
||||
PyObject *py_text; /* python wrapper */
|
||||
|
||||
Reference in New Issue
Block a user