X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=src%2Fexec.c;h=1bc891ee6196fcc8e4782cc2534dc58346ba8b33;hp=d8df852946cbbbd0bab3bc91b0a600708b2f0267;hb=60d4c2573a30a48520545195b9ef89814fc60708;hpb=4c1bb1f12ad0f10aafbdaa59fbc43247784e5096 diff --git a/src/exec.c b/src/exec.c index d8df852..1bc891e 100644 --- a/src/exec.c +++ b/src/exec.c @@ -54,7 +54,7 @@ void addcerrlist_exec() bool loadassemble(const char *file) { FILE *fp; - bool status = true; + bool stat = true; assert(file != NULL); if((fp = fopen(file, "r")) == NULL) { @@ -66,10 +66,10 @@ bool loadassemble(const char *file) if(execptr->end == sys->memsize) { setcerr(210, file); /* load - memory overflow */ fprintf(stderr, "Load error - %d: %s\n", cerr->num, cerr->msg); - status = false; + stat = false; } fclose(fp); - return status; + return stat; } /**