diff --git a/source/compiler/libpawnc.c b/source/compiler/libpawnc.c index c12031a..4a94765 100644 --- a/source/compiler/libpawnc.c +++ b/source/compiler/libpawnc.c @@ -198,7 +198,6 @@ void *pc_createtmpsrc(char **filename) ftmp=fopen(tname,"wt"); #else static const char template[]="/tmp/pawnXXXXXX"; - ftmp=NULL; if ((tname=malloc(sizeof(template)))!=NULL) { int fdtmp; strncpy(tname,template,sizeof(template)); diff --git a/source/compiler/sc1.c b/source/compiler/sc1.c index c9403ff..6687509 100644 --- a/source/compiler/sc1.c +++ b/source/compiler/sc1.c @@ -274,7 +274,6 @@ void *pc_createtmpsrc(char **filename) ftmp=fopen(tname,"wt"); #else static const char template[]="/tmp/pawnXXXXXX"; - ftmp=NULL; if ((tname=malloc(sizeof(template)))!=NULL) { int fdtmp; strncpy(tname,template,sizeof(template));