diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2008-10-24 21:41:36 +0000 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2008-10-24 21:41:36 +0000 |
commit | b61433a9ad8e0c9bd78643b0e98c119904617002 (patch) | |
tree | f8940ab471d62275509e16dccc0210688f9c8b57 /perl.c | |
parent | bef8a12803580c2fb97a03ebe6e7df3e52cd10bf (diff) | |
download | perl-b61433a9ad8e0c9bd78643b0e98c119904617002.tar.gz |
Make C++ compilers happy #2: const POD without initializer
is an error for g++, even when static.
p4raw-id: //depot/perl@34575
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -662,7 +662,7 @@ perl_destruct(pTHXx) int f; const char *where; /* Our success message is an integer 0, and a char 0 */ - static const char success[sizeof(int) + 1]; + static const char success[sizeof(int) + 1] = {0}; close(fd[0]); |