From aa5e162709a2bcb53f6951f43be50c9e70a10726 Mon Sep 17 00:00:00 2001 From: "waldemar%netscape.com" Date: Wed, 23 Feb 2000 01:51:44 +0000 Subject: [PATCH] Fixed non-DEBUG warning --- js/js2/numerics.cpp | 2 +- js2/src/numerics.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/js2/numerics.cpp b/js/js2/numerics.cpp index 8df80b662ba1..5fc01931b118 100644 --- a/js/js2/numerics.cpp +++ b/js/js2/numerics.cpp @@ -2445,7 +2445,7 @@ static const int doubleToAsciiModes[] = { // The result is held somewhere in buffer, but not necessarily at the beginning. The size of // buffer is given in bufferSize, and must be at least as large as given by dtosStandardBufferSize // or dtosVariableBufferSize, whichever is appropriate. -char *JS::doubleToStr(char *buffer, size_t bufferSize, double value, DToStrMode mode, int precision) +char *JS::doubleToStr(char *buffer, size_t DEBUG_ONLY(bufferSize), double value, DToStrMode mode, int precision) { int decPt; // Position of decimal point relative to first digit returned by doubleToAscii bool negative; // True if the sign bit was set in value diff --git a/js2/src/numerics.cpp b/js2/src/numerics.cpp index 8df80b662ba1..5fc01931b118 100644 --- a/js2/src/numerics.cpp +++ b/js2/src/numerics.cpp @@ -2445,7 +2445,7 @@ static const int doubleToAsciiModes[] = { // The result is held somewhere in buffer, but not necessarily at the beginning. The size of // buffer is given in bufferSize, and must be at least as large as given by dtosStandardBufferSize // or dtosVariableBufferSize, whichever is appropriate. -char *JS::doubleToStr(char *buffer, size_t bufferSize, double value, DToStrMode mode, int precision) +char *JS::doubleToStr(char *buffer, size_t DEBUG_ONLY(bufferSize), double value, DToStrMode mode, int precision) { int decPt; // Position of decimal point relative to first digit returned by doubleToAscii bool negative; // True if the sign bit was set in value