Nobody's watching to see if we found any. Indeed, we might as well not
return anything at all. So, err, don't.
#endif
#define CLRF_ALL 1u
-static int clear_progress(struct progress_state *progress,
- struct progress_render_state *render, unsigned f)
+static void clear_progress(struct progress_state *progress,
+ struct progress_render_state *render, unsigned f)
{
const struct progress_ttyinfo *tty = &progress->tty;
unsigned ndel, nleave;
}
}
progress->last_lines = 0;
- if (ferror(tty->fp)) return (-1);
- return (0);
}
int progress_clear(struct progress_state *progress)