[Gmp-commit] /var/hg/gmp: Remove static initialiser for removed struct field.

mercurial at gmplib.org mercurial at gmplib.org
Mon Aug 8 09:33:10 CEST 2011


details:   /var/hg/gmp/rev/c45487081621
changeset: 14223:c45487081621
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Aug 08 09:33:02 2011 +0200
description:
Remove static initialiser for removed struct field.

diffstat:

 gen-bases.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 88ab17a91350 -r c45487081621 gen-bases.c
--- a/gen-bases.c	Sun Aug 07 21:28:02 2011 +0200
+++ b/gen-bases.c	Mon Aug 08 09:33:02 2011 +0200
@@ -160,8 +160,8 @@
   printf ("#endif\n");
   printf ("\n");
   puts ("const struct bases mp_bases[257] =\n{");
-  puts ("  /*   0 */ { 0, 0.0,  0, 0, 0, 0 },");
-  puts ("  /*   1 */ { 0, 1e37, 0, 0, 0, 0 },");
+  puts ("  /*   0 */ { 0, 0, 0, 0, 0 },");
+  puts ("  /*   1 */ { 0, 0, 0, 0, 0 },");
   for (base = 2; base <= 256; base++)
     {
       generate (limb_bits, nail_bits, base);


More information about the gmp-commit mailing list