From 9b3da11a1160b91eb315975262894563359d03fb Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Thu, 26 Nov 2015 21:39:33 +0000
Subject: [PATCH] voc labels

---
 src/stb_image_write.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/stb_image_write.h b/src/stb_image_write.h
index 1048970..f5250b3 100644
--- a/src/stb_image_write.h
+++ b/src/stb_image_write.h
@@ -279,7 +279,7 @@
 {
    unsigned char scanlineheader[4] = { 2, 2, 0, 0 };
    unsigned char rgbe[4];
-   float linear[3];
+   float linear[3] = {0};
    int x;
 
    scanlineheader[2] = (width&0xff00)>>8;

--
Gitblit v1.10.0