summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--popt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/popt.c b/popt.c
index adb70b5..5dc6812 100644
--- a/popt.c
+++ b/popt.c
@@ -1692,7 +1692,7 @@ assert(s); /* XXX can't happen */
if (opt->longName) {
if (!F_ISSET(opt, ONEDASH))
*s++ = '-';
- s = stpcpy(s, opt->longName);
+ (void)stpcpy(s, opt->longName);
} else {
*s++ = opt->shortName;
*s = '\0';