diff options
author | Karl Williamson <khw@cpan.org> | 2018-03-14 08:39:59 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-03-14 09:06:33 -0600 |
commit | 32a62865ef662fce2b2250a7e0eca15861e7fe20 (patch) | |
tree | 29a6f11cb26416f086298a9df3dadd49662c4cea /locale.c | |
parent | b0bde64275270da224c60fb67b3402c48855f883 (diff) | |
download | perl-32a62865ef662fce2b2250a7e0eca15861e7fe20.tar.gz |
locale.c: Silence Win32 compiler warning
The return value is discarded here, and a few lines down calls this
function again, retaining its return value.
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2578,8 +2578,8 @@ S_my_nl_langinfo(const int item, bool toggle) /* Here everything past the dot is a digit. Treat it as a * code page */ - save_to_buffer("CP", &PL_langinfo_buf, - &PL_langinfo_bufsize, 0); + (void) save_to_buffer("CP", &PL_langinfo_buf, + &PL_langinfo_bufsize, 0); offset = STRLENs("CP"); has_nondigit: |