aboutsummaryrefslogtreecommitdiff
path: root/devtools/convbdf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/convbdf.cpp')
-rw-r--r--devtools/convbdf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/convbdf.cpp b/devtools/convbdf.cpp
index 21c8af8234..59ea5cc4e5 100644
--- a/devtools/convbdf.cpp
+++ b/devtools/convbdf.cpp
@@ -21,7 +21,7 @@
*/
#ifndef __has_feature // Optional of course.
- #define __has_feature(x) 0 // Compatibility with non-clang compilers.
+#define __has_feature(x) 0 // Compatibility with non-clang compilers.
#endif
#include <fstream>
@@ -392,7 +392,7 @@ int main(int argc, char *argv[]) {
for (int y = 0; y < box.height; ++y) {
printf("// |");
- unsigned char data;
+ unsigned char data = 0;
for (int x = 0; x < box.width; ++x) {
if (!(x % 8))
data = *bitmap++;