summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-03-14 08:39:59 -0600
committerKarl Williamson <khw@cpan.org>2018-03-14 09:06:33 -0600
commit32a62865ef662fce2b2250a7e0eca15861e7fe20 (patch)
tree29a6f11cb26416f086298a9df3dadd49662c4cea /locale.c
parentb0bde64275270da224c60fb67b3402c48855f883 (diff)
downloadperl-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale.c b/locale.c
index 98d6d37135..cfbc056756 100644
--- a/locale.c
+++ b/locale.c
@@ -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: