fixed small bugs/unproper code

This commit is contained in:
zolliker
2005-03-04 09:43:18 +00:00
parent 0a30ff82c3
commit b6f7d27147
10 changed files with 44 additions and 135 deletions

View File

@@ -334,7 +334,8 @@
pEVDriver pNew = NULL;
pTclEv pPriv = NULL;
int iRet;
char *pPtr = NULL;
/* the "const" saves us from a couple of warnings M.Z.*/
const char *pPtr = NULL;
if(argc < 1)/* we expect a Tcl array with all data */
{
@@ -478,7 +479,7 @@
{
pTclEv pPriv = NULL;
char pBueffel[132];
char *pPtr = NULL;
const char *pPtr = NULL;
assert(self);
pPriv = (pTclEv)self->pPrivate;