diff options
author | 2020-09-07 10:59:37 -0400 | |
---|---|---|
committer | 2020-09-10 01:56:12 +1000 | |
commit | 71d65c671ddabc9216896798fa8029078f490f6e (patch) | |
tree | 2070a07fcc9956b62e0893dfd978d41826790feb /src | |
parent | 14afb557903052841f4be03775443c7cae22fc6b (diff) |
Fixing an Imgtool build issue with LLVM on MSVC
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/imgtool/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/imgtool/main.cpp b/src/tools/imgtool/main.cpp index d289bd01ff3..55f37284d3c 100644 --- a/src/tools/imgtool/main.cpp +++ b/src/tools/imgtool/main.cpp @@ -266,10 +266,10 @@ static int cmd_dir(const struct command *c, int argc, char *argv[]) columnwidth_attributes, wstring_from_utf8(ent.attr), columnwidth_lastmodified, wstring_from_utf8(last_modified)); - if (ent.softlink && ent.softlink[0] != '\0') + if (ent.softlink[0] != '\0') util::stream_format(std::wcout, L"-> %s\n", wstring_from_utf8(ent.softlink)); - if (ent.comment && ent.comment[0] != '\0') + if (ent.comment[0] != '\0') util::stream_format(std::wcout, L": %s\n", wstring_from_utf8(ent.comment)); total_count++; |