aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorjohn haque <j.eh@mchsi.com>2012-04-09 04:35:56 -0500
committerjohn haque <j.eh@mchsi.com>2012-04-09 04:35:56 -0500
commit154f72534002c0c49df249b52fe76d126eed72a3 (patch)
tree8e4edb8aa3106cf7eb0755e49348be2b52655eeb /main.c
parent5481d2ffcd24d5983d95013c62e046634c6c73dc (diff)
downloadegawk-154f72534002c0c49df249b52fe76d126eed72a3.tar.gz
egawk-154f72534002c0c49df249b52fe76d126eed72a3.tar.bz2
egawk-154f72534002c0c49df249b52fe76d126eed72a3.zip
Remove an unneeded define, more fixes for gcc -Wall.
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/main.c b/main.c
index d1c7448e..26049e5a 100644
--- a/main.c
+++ b/main.c
@@ -73,11 +73,6 @@ NODE *TEXTDOMAIN_node;
NODE *_r; /* used as temporary in stack macros */
-#ifdef HAVE_MPFR
-mpfr_prec_t PRECISION = DEFAULT_PREC;
-mpfr_rnd_t RND_MODE = MPFR_RNDN;
-#endif
-
long NF;
long NR;
long FNR;
@@ -577,7 +572,7 @@ out:
#ifdef HAVE_MPFR
/* Set up MPFR defaults, and register pre-exec hook to process arithmetic opcodes */
if (do_mpfr)
- init_mpfr(DEFAULT_RNDMODE);
+ init_mpfr(DEFAULT_PREC, DEFAULT_RNDMODE);
#endif
/* load group set */