This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMITTED] Remove some commented code


... and another one.


Siddhesh

commit b78372645917b0ecca880c542ef6027ccd74ba28
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Fri Jan 4 15:30:34 2013 +0530

    Remove some commented code

diff --git a/ChangeLog b/ChangeLog
index 9ae2d4b..3309f20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+	* sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
+	declarations.
+	(denorm): Likewise.
+	(__mp_dbl): Likewise.
+	(__inv): Likewise.
+
 	* sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
 	and adjust the header comment.
 
diff --git a/sysdeps/ieee754/dbl-64/mpa.c b/sysdeps/ieee754/dbl-64/mpa.c
index b5cc06d..0db1386 100644
--- a/sysdeps/ieee754/dbl-64/mpa.c
+++ b/sysdeps/ieee754/dbl-64/mpa.c
@@ -142,9 +142,6 @@ static void norm(const mp_no *x, double *y, int p)
 {
   #define R  RADIXI
   int i;
-#if 0
-  int k;
-#endif
   double a,c,u,v,z[5];
   if (p<5) {
     if      (p==1) c = X[1];
@@ -196,9 +193,6 @@ static void denorm(const mp_no *x, double *y, int p)
 {
   int i,k;
   double c,u,z[5];
-#if 0
-  double a,v;
-#endif
 
 #define R  RADIXI
   if (EX<-44 || (EX==-44 && X[1]<TWO5))
@@ -241,10 +235,6 @@ static void denorm(const mp_no *x, double *y, int p)
 /* The result is correctly rounded to the nearest/even. *x is left unchanged */
 
 void __mp_dbl(const mp_no *x, double *y, int p) {
-#if 0
-  int i,k;
-  double a,c,u,v,z[5];
-#endif
 
   if (X[0] == ZERO)  {*y = ZERO;  return; }
 
@@ -507,9 +497,6 @@ static
 SECTION
 void __inv(const mp_no *x, mp_no *y, int p) {
   int i;
-#if 0
-  int l;
-#endif
   double t;
   mp_no z,w;
   static const int np1[] = {0,0,0,0,1,2,2,2,2,3,3,3,3,3,3,3,3,3,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]