Mercurial > emacs
diff src/strftime.c @ 21793:465a6898b727
automatically generated from GPLed version
| author | Ulrich Drepper <drepper@redhat.com> |
|---|---|
| date | Mon, 27 Apr 1998 23:48:59 +0000 |
| parents | a9699fed520b |
| children | 1a370f7cc0c1 |
line wrap: on
line diff
--- a/src/strftime.c Mon Apr 27 22:05:53 1998 +0000 +++ b/src/strftime.c Mon Apr 27 23:48:59 1998 +0000 @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc. +/* Copyright (C) 1991,92,93,94,95,96,97,98 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. @@ -482,7 +482,7 @@ for (f = format; *f != '\0'; ++f) { - int pad; /* Padding for number ('-', '_', or 0). */ + int pad = 0; /* Padding for number ('-', '_', or 0). */ int modifier; /* Field modifier ('E', 'O', or 0). */ int digits; /* Max digits for numeric format. */ int number_value; /* Numeric value to be printed. */ @@ -572,7 +572,6 @@ #endif /* ! DO_MULTIBYTE */ /* Check for flags that can modify a format. */ - pad = 0; while (1) { switch (*++f)
