summaryrefslogtreecommitdiff
path: root/vncEncodeHexT.c
diff options
context:
space:
mode:
Diffstat (limited to 'vncEncodeHexT.c')
-rw-r--r--vncEncodeHexT.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vncEncodeHexT.c b/vncEncodeHexT.c
index a478c98..57f568f 100644
--- a/vncEncodeHexT.c
+++ b/vncEncodeHexT.c
@@ -362,7 +362,7 @@ testColours##bpp(CARD##bpp *data, int size, \
bool *mono, bool *solid, \
CARD##bpp *bg, CARD##bpp *fg) \
{ \
- CARD##bpp colour1, colour2; \
+ CARD##bpp colour1=0, colour2=0; \
int n1 = 0, n2 = 0; \
*mono = true; \
*solid = true; \