diff options
Diffstat (limited to 'lib/Utils/make_descr.cpp')
| -rw-r--r-- | lib/Utils/make_descr.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Utils/make_descr.cpp b/lib/Utils/make_descr.cpp index ee37291..1352149 100644 --- a/lib/Utils/make_descr.cpp +++ b/lib/Utils/make_descr.cpp @@ -16,6 +16,11 @@ static void add_content(bool &was_multiline, string& description, const char *he if (strchr(content, '\n') == NULL) { + if (skip_whitespace(content)[0] == '\0') + { + /* empty, dont report at all */ + return; + } /* one string value, like OS release */ description += header; description += ": "; |
