diff options
author | Kurtis Rader <krader@skepticism.us> | 2016-04-04 14:34:28 -0700 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-04-04 14:34:28 -0700 |
commit | 47f1a92cc4c3c7056f4172974f10a8dd402cf55c (patch) | |
tree | 34bf83341006081f8a07bc6ca77cac03c603eb97 /src/common.cpp | |
parent | 0953590cca7cdc2dab75af5a85c8e2f15d4b8ab2 (diff) |
fixes for cppcheck lint warnings
Refine the linting behavior.
Fix several of the, mostly trivial, lint errors.
Diffstat (limited to 'src/common.cpp')
-rw-r--r-- | src/common.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/common.cpp b/src/common.cpp index 84c3de65..545288fc 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -1111,12 +1111,6 @@ static void escape_string_internal(const wchar_t *orig_in, size_t in_len, wcstri wcstring escape(const wchar_t *in, escape_flags_t flags) { - if (!in) - { - debug(0, L"%s called with null input", __func__); - FATAL_EXIT(); - } - wcstring result; escape_string_internal(in, wcslen(in), &result, flags); return result; |