diff options
-rw-r--r-- | src/inp_str.c | 3 | ||||
-rw-r--r-- | src/out_str.c | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/inp_str.c b/src/inp_str.c index 1f1ed0a9e..8f5392fca 100644 --- a/src/inp_str.c +++ b/src/inp_str.c @@ -37,9 +37,6 @@ mpfr_inp_str (mpfr_ptr rop, FILE *stream, int base, mpfr_rnd_t rnd_mode) int retval; size_t nread; - if (stream == NULL) - stream = stdin; - alloc_size = 100; str = (unsigned char *) mpfr_allocate_func (alloc_size); str_size = 0; diff --git a/src/out_str.c b/src/out_str.c index c78a7dbaa..6e303a1e4 100644 --- a/src/out_str.c +++ b/src/out_str.c @@ -43,10 +43,6 @@ mpfr_out_str (FILE *stream, int base, size_t n_digits, mpfr_srcptr op, MPFR_ASSERTN (base >= 2 && base <= 62); - /* when stream=NULL, output to stdout */ - if (stream == NULL) - stream = stdout; - if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (op))) { if (MPFR_IS_NAN (op)) |