diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-03-20 20:52:26 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-03-20 20:52:26 +0200 |
commit | b630ded7a3489fc10a104f761013eb3b588fd408 (patch) | |
tree | 536c56756d204a072b7c668bea19e7f64aa4bd5f /builtin.c | |
parent | 366e06bf71b500939fa3a70e3cce91d9a7776e14 (diff) | |
download | egawk-b630ded7a3489fc10a104f761013eb3b588fd408.tar.gz egawk-b630ded7a3489fc10a104f761013eb3b588fd408.tar.bz2 egawk-b630ded7a3489fc10a104f761013eb3b588fd408.zip |
Minor printf bug fix + new test for it everywhere.
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -613,7 +613,7 @@ format_tree( long *cur = NULL; uintmax_t uval; int sgn; - int base = 0; + int base; /* * Although this is an array, the elements serve two different * purposes. The first element is the general buffer meant @@ -724,6 +724,7 @@ format_tree( cur = &fw; fw = 0; prec = 0; + base = 0; argnum = 0; have_prec = FALSE; signchar = FALSE; |