commit | 0bc716ae27d1bd66faa8f165a2c4a4cf6bd8143f | [log] [tgz] |
---|---|---|
author | Chris Peterson <cpeterson@mozilla.com> | Sat Mar 26 01:19:28 2016 -0700 |
committer | Jason Evans <jasone@canonware.com> | Sat Mar 26 23:24:33 2016 -0700 |
tree | 7d06de12d64bd23679e73f0183f883a802d2b177 | |
parent | f3060284c521cc74e333c5ab3a6c8fc0648defb5 [diff] |
Fix -Wunreachable-code warning in malloc_vsnprintf(). Variables s and slen are declared inside a switch statement, but outside a case scope. clang reports these variable definitions as "unreachable", though this is not really meaningful in this case. This is the only -Wunreachable-code warning in jemalloc. src/util.c:501:5 [-Wunreachable-code] code will never be executed This resolves #364.