diff options
| author | Antony Dovgal <tony2001@php.net> | 2006-12-07 20:45:58 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2006-12-07 20:45:58 +0000 |
| commit | feba2edba2e0925bd3ada626beedeed229ebc6c9 (patch) | |
| tree | b857c77bb983ce231736540084dcb201863ac134 /ext | |
| parent | 6b8526efce0faaf440b07a92ff74e24556772b61 (diff) | |
| download | php-git-feba2edba2e0925bd3ada626beedeed229ebc6c9.tar.gz | |
initialize variables
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/standard/formatted_print.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/standard/formatted_print.c b/ext/standard/formatted_print.c index 07b2b445b3..c0e36ce043 100644 --- a/ext/standard/formatted_print.c +++ b/ext/standard/formatted_print.c @@ -196,9 +196,8 @@ php_sprintf_appenddouble(char **buffer, int *pos, TSRMLS_DC) { char num_buf[NUM_BUF_SIZE]; - char *s, *q; - int s_len; - int is_negative; + char *s = NULL, *q; + int s_len = 0, is_negative = 0; PRINTF_DEBUG(("sprintf: appenddouble(%x, %x, %x, %f, %d, '%c', %d, %c)\n", *buffer, pos, size, number, width, padding, alignment, fmt)); |
