From 9d9464f7564d8939cb418e65f6feab361d5871ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 15 Nov 2017 12:32:50 -0800 Subject: [PATCH] Cleanup. --- src/amalgamated.cpp | 1 + tools/bin2c/bin2c.cpp | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amalgamated.cpp b/src/amalgamated.cpp index c931472..7eaf04a 100644 --- a/src/amalgamated.cpp +++ b/src/amalgamated.cpp @@ -18,6 +18,7 @@ #include "os.cpp" #include "process.cpp" #include "semaphore.cpp" +#include "settings.cpp" #include "sort.cpp" #include "string.cpp" #include "thread.cpp" diff --git a/tools/bin2c/bin2c.cpp b/tools/bin2c/bin2c.cpp index def5121..414bce6 100644 --- a/tools/bin2c/bin2c.cpp +++ b/tools/bin2c/bin2c.cpp @@ -59,7 +59,7 @@ public: ascii[asciiPos] = '\0'; bx::writePrintf(m_writer, "\t" HEX_DUMP_FORMAT "// %s\n", hex, ascii); data += asciiPos; - hexPos = 0; + hexPos = 0; asciiPos = 0; } } @@ -80,7 +80,6 @@ public: } bx::WriterI* m_writer; - std::string m_filePath; std::string m_name; typedef std::vector Buffer; Buffer m_buffer;