about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--nss/digits_dots.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a55750c77..9e082d8947 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
+
+	* nss/digits_dots.c: Always initialize not_ok.
+
 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
 
 	* string/bits/string2.h (memset): Avoid arithmetic overflow at
diff --git a/nss/digits_dots.c b/nss/digits_dots.c
index 9a8d499cbd..06f91fe691 100644
--- a/nss/digits_dots.c
+++ b/nss/digits_dots.c
@@ -117,6 +117,7 @@
 		      break;
 		    default:
 		      assert (! "There should be no other `af' value");
+		      not_ok = 1;
 		    }
 		  if (not_ok)
 		    {