Bug 414772: Remove a buggy test that causes a debug build to exit with
authorwtc%google.com
Sat, 26 Sep 2009 00:47:17 +0000
changeset 4153 c6b71fcb20eb2633bec7ff4d1f13fced4b96a21e
parent 4152 167b3e806c327c2a648ed1ec201a66a91d030441
child 4154 f0848e8afcf359ebcf4731aab4ef1131444d657a
push idunknown
push userunknown
push dateunknown
bugs414772
Bug 414772: Remove a buggy test that causes a debug build to exit with "Zero passed to d2b". r=jruderman.
pr/src/misc/prdtoa.c
--- a/pr/src/misc/prdtoa.c
+++ b/pr/src/misc/prdtoa.c
@@ -1357,20 +1357,16 @@ d2b
 		else
 			x[0] = y;
 #ifndef Sudden_Underflow
 		i =
 #endif
 		    b->wds = (x[1] = z) ? 2 : 1;
 		}
 	else {
-#ifdef DEBUG
-		if (!z)
-			Bug("Zero passed to d2b");
-#endif
 		k = lo0bits(&z);
 		x[0] = z;
 #ifndef Sudden_Underflow
 		i =
 #endif
 		    b->wds = 1;
 		k += 32;
 		}