Eliminate 'there is pointer arithmetic with NULL' cppcheck warning
authorIvan Maidanski <ivmai@mail.ru>
Thu, 5 Apr 2018 21:42:29 +0000 (00:42 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 5 Apr 2018 21:42:29 +0000 (00:42 +0300)
commitdbb34733c7d9f985bc779ece40100eb882ccec7e
tree8d0e8b37eae06b3ac7f014967cccf54888c8544e
parent295a2f24e2ebb39afcbc5763fecd09daa2982390
Eliminate 'there is pointer arithmetic with NULL' cppcheck warning

* extra/msvc_dbg.c (GetDescriptionFromStack): Compare size to 0 instead
of comparing description to NULL; mark format argument as used.
* extra/msvc_dbg.c (backtrace_symbols): Do not call
GetDescriptionFromStack if symbols (description) is NULL but size is
non-zero.
extra/msvc_dbg.c