Mercurial > hg > th-libs
diff th_ioctx_stdio.c @ 691:49c818acbbbe
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 09 Mar 2020 16:22:01 +0200 |
parents | 7e207f1023d9 |
children | 4ca6a3b30fe8 |
line wrap: on
line diff
--- a/th_ioctx_stdio.c Mon Mar 09 15:46:01 2020 +0200 +++ b/th_ioctx_stdio.c Mon Mar 09 16:22:01 2020 +0200 @@ -51,10 +51,7 @@ static int th_stdio_freset(th_ioctx *ctx) { - if (CTX_FH != NULL) - return th_stdio_fseek(ctx, 0, SEEK_SET); - else - return THERR_OK; + return th_stdio_fseek(ctx, 0, SEEK_SET); }