diff --git a/src/hex.cpp b/src/hex.cpp index b314264..aa71422 100644 --- a/src/hex.cpp +++ b/src/hex.cpp @@ -110,15 +110,15 @@ namespace hv { u64_to_hex(offset, posbuf+3); prints(posbuf+1); - char hxbuf[3]; + char hxbuf[3] = { ' ' }; std::size_t i=0; char r_ascii[2 + ROW_SZ]; r_ascii[0] = ' '; r_ascii[1] = ' '; char* ascii = r_ascii + 2; + auto memsize = memory.size(); - hxbuf[2] = ' '; - for(;i