Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:A
m17n-lib
m17n-lib-fix-warnings.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File m17n-lib-fix-warnings.diff of Package m17n-lib
--- src/font.c | 5 +++-- src/fontset.c | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) --- a/src/font.c +++ b/src/font.c @@ -1354,7 +1354,7 @@ { int i; MSymbol spec_list[MFONT_REGISTRY + 1]; - MSymbol registry; + MSymbol registry = Mnil; char *reg; MFONT_INIT (spec); @@ -1365,7 +1365,8 @@ MERROR (MERROR_FONT, Mnil); spec_list[i] = MPLIST_SYMBOL (plist); } - registry = spec_list[i - 1]; + if (i > 0) + registry = spec_list[i - 1]; if (i > 1 && registry != Mnil) { reg = MSYMBOL_NAME (registry); --- a/src/fontset.c +++ b/src/fontset.c @@ -846,7 +846,6 @@ if (MPLIST_KEY (plist) != Mlatin) request.property[MFONT_FOUNDRY] - = request.property[MFONT_FAMILY] = request.property[MFONT_FAMILY] = 0; if ((per_lang = mplist_get (MPLIST_PLIST (plist), language)) && (rfont = try_font_group (realized, &request, per_lang,
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