Commit da9edd95 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cleanup

parent 1f211d4c
......@@ -252,16 +252,6 @@ static void model_initialize(void)
}
static void model_copy(MODEL *modelptr2, MODEL *modelptr1)
{
int modelID2;
modelID2 = modelptr2->self;
memcpy(modelptr2, modelptr1, sizeof(MODEL));
modelptr2->self = modelID2;
}
static void model_check_ptr(const char *func, MODEL *modelptr)
{
if ( modelptr == NULL )
......
......@@ -1108,8 +1108,7 @@ void zaxisResize(int zaxisID, int size)
zaxisptr->size = size;
if ( zaxisptr->vals )
zaxisptr->vals =
(double *) realloc(zaxisptr->vals, size*sizeof(double));
zaxisptr->vals = (double *) realloc(zaxisptr->vals, size*sizeof(double));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment