summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/stdexcept.cpp
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2015-09-10 10:23:23 +0000
committertuexen <tuexen@FreeBSD.org>2015-09-10 10:23:23 +0000
commit9701f78cf861e384fc384747619879acb0767a1c (patch)
treed620b559988744e855e972739a10e27e91e719af /contrib/libc++/src/stdexcept.cpp
parentc134e00127d82c04c3ed8492ed953952391bb8d6 (diff)
downloadFreeBSD-src-9701f78cf861e384fc384747619879acb0767a1c.zip
FreeBSD-src-9701f78cf861e384fc384747619879acb0767a1c.tar.gz
Zero out a local variable also when PURIFY is not defined.
This silence a warning brought up by valgrind whenever if_nametoindex is used. This was already discussed in PR 166483, but the code committed in r234329 guards the initilization with #ifdef PURIFY. Therefore, valgrind still complains. Since this code is not performance critical, always zero out the local variable to silence valgrind. PR: 166483 Discussed with: eadler@ MFC after: 4 weeks
Diffstat (limited to 'contrib/libc++/src/stdexcept.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud