Projects
openEuler:24.03:SP1:Everything:64G
popt
_service:tar_scm:fix-coverity-CID-1057440-Unuse...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:fix-coverity-CID-1057440-Unused-pointer-value-UNUSED.patch of Package popt
From 03fa3b9361fb08e7575021b4830f3e220c7206e0 Mon Sep 17 00:00:00 2001 From: devzero2000 <devzero2000> Date: Fri, 16 Aug 2013 08:13:29 +0000 Subject: [PATCH 141/157] fix coverity CID 1057440: Unused pointer value (UNUSED_VALUE) --- src/popt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/popt.c b/src/popt.c index adb70b5..5dc6812 100644 --- a/src/popt.c +++ b/src/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'; -- 2.19.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2