ncdirect_flush: remove dead store

This commit is contained in:
nick black 2021-01-21 23:42:16 -05:00
parent 659df1725b
commit e9cd118525
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -1070,8 +1070,7 @@ bool ncdirect_canutf8(const ncdirect* n){
}
int ncdirect_flush(const ncdirect* nc){
int r;
while((r = fflush(nc->ttyfp)) == EOF){
while(fflush(nc->ttyfp) == EOF){
if(errno != EAGAIN){
return -1;
}