initialise PL_watch_pvx
authorDavid Mitchell <davem@iabyn.com>
Fri, 11 Apr 2014 20:45:02 +0000 (21:45 +0100)
committerDavid Mitchell <davem@iabyn.com>
Fri, 11 Apr 2014 20:45:02 +0000 (21:45 +0100)
commit0c5ea01913265b717b8615a704acd13ddde5b078
tree0ec421db0c24e10b9e1f6f93fa88b4e12f5141a1
parent7e6b9e3a663e0e2adbb0acd0e0c8e50176b82316
initialise PL_watch_pvx

This global var is only used in debugging builds, but with
PERL_GLOBAL_STRUCT_PRIVATE builds, it gives valgrind errors. Just
initialise it to NULL.

I was originally trying to replicate smoke failures of
dist/Thread-Queue/t/07_lock.t under PERL_GLOBAL_STRUCT_PRIVATE, and
valgrind complained.
perlvars.h