Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Staging:B
mozjs17
gcc7-fix-warning.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc7-fix-warning.patch of Package mozjs17
diff --git a/js/src/shell/jsoptparse.cpp b/js/src/shell/jsoptparse.cpp index b49d0a5..1c72fac 100644 --- a/js/src/shell/jsoptparse.cpp +++ b/js/src/shell/jsoptparse.cpp @@ -243,7 +243,7 @@ OptionParser::extractValue(size_t argc, char **argv, size_t *i, char **value) char *eq = strchr(argv[*i], '='); if (eq) { *value = eq + 1; - if (value[0] == '\0') + if (*value[0] == '\0') return error("A value is required for option %.*s", eq - argv[*i], argv[*i]); return Okay; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor