summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--rfc2047.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rfc2047.c b/rfc2047.c
index fdf3589..d5ecde2 100644
--- a/rfc2047.c
+++ b/rfc2047.c
@@ -169,8 +169,8 @@ blaze822_decode_rfc2047(char *dst, char *src, size_t dlen, char *tgtenc)
 		if (!stop)
 			goto nocode;
 
-		char *dec, *decchunk;
-		size_t declen;
+		char *dec = 0, *decchunk;
+		size_t declen = 0;
 		if (enc == 'q')
 			blaze822_decode_qp(start, stop, &dec, &declen);
 		else if (enc == 'b')