Remove unused variable.

This commit is contained in:
carl 2019-02-21 00:43:49 +08:00
parent f7ba3eec50
commit 4b5de6c203

View file

@ -53,7 +53,6 @@ char *C_opp = obuf;
void C_flush(void) void C_flush(void)
{ {
int count;
#ifdef INCORE #ifdef INCORE
static unsigned int bufsiz; static unsigned int bufsiz;
@ -72,7 +71,6 @@ void C_flush(void)
return; return;
} }
#endif #endif
count = (int)(C_opp - obuf);
if (C_opp != obuf && sys_write(C_ofp, obuf, (int)(C_opp - obuf)) == 0) { if (C_opp != obuf && sys_write(C_ofp, obuf, (int)(C_opp - obuf)) == 0) {
C_ofp = 0; C_ofp = 0;
C_failed(); C_failed();