mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00: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…
Reference in New Issue
Block a user