mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
ncdirect_flush: remove dead store
This commit is contained in:
parent
659df1725b
commit
e9cd118525
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user