summaryrefslogtreecommitdiffstats
path: root/tdm/backend/printf.c
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-04-18 14:38:15 -0500
committerTimothy Pearson <[email protected]>2012-04-18 14:38:15 -0500
commita63606b68664ba56c48bfdb86ef042c836faae66 (patch)
tree78f99cf41b4fcf03162b8cdb2cb618806d015059 /tdm/backend/printf.c
parent632eda3b6c6d9aa903e31d3533e8bcb631868d0b (diff)
downloadtdebase-a63606b68664ba56c48bfdb86ef042c836faae66.tar.gz
tdebase-a63606b68664ba56c48bfdb86ef042c836faae66.zip
Ensure that tdm honors SAK setting
Minor cleanup of tdm build warnings
Diffstat (limited to 'tdm/backend/printf.c')
-rw-r--r--tdm/backend/printf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdm/backend/printf.c b/tdm/backend/printf.c
index d7220642b..90780d510 100644
--- a/tdm/backend/printf.c
+++ b/tdm/backend/printf.c
@@ -207,7 +207,7 @@ fmtstr( OutCh dopr_outch, void *bp,
{
int padlen, strln, curcol;
#ifdef PRINT_QUOTES
- int lastcol;
+ int lastcol = 0;
#endif
char ch;
@@ -295,9 +295,9 @@ DoPr( OutCh dopr_outch, void *bp, const char *format, va_list args )
void *arptr;
#endif
unsigned long value;
- int radix, min, max, flags, cflags, errn;
+ int radix = 0, min, max, flags, cflags, errn;
#ifdef PRINT_ARRAYS
- int arlen;
+ int arlen = 0;
unsigned aridx;
char sch;
#endif