diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-12-06 22:42:18 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-12-09 09:47:17 -0700 |
commit | a1894d81735066945ef520af52cc180d1e0dfb10 (patch) | |
tree | fbe1d58c83b085af9b73c2bfe7201394abb290d1 /doio.c | |
parent | 6c2f1a55be4cd937e7e87f2ffb875a22688fb01e (diff) | |
download | perl-a1894d81735066945ef520af52cc180d1e0dfb10.tar.gz |
Silence some g++ compiler warnings
Changing these slightly got rid of the warnings like:
toke.c:9168: warning: format not a string literal and no format arguments
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1333,7 +1333,7 @@ I32 Perl_my_lstat_flags(pTHX_ const U32 flags) { dVAR; - static const char no_prev_lstat[] = "The stat preceding -l _ wasn't an lstat"; + static const char* const no_prev_lstat = "The stat preceding -l _ wasn't an lstat"; dSP; const char *file; if (PL_op->op_flags & OPf_REF) { |