Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
canna
fix-uninit.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-uninit.patch of Package canna
--- lib/canna/lisp.c +++ lib/canna/lisp.c @@ -86,7 +86,7 @@ /* error functions */ -static void argnerr(), numerr(), error(); +static void argnerr(), numerr(), error() __attribute__((noreturn)); /* multiple values */ @@ -3511,10 +3511,9 @@ *dptr++ = '\0'; return tdptr; } - else { - error("Insufficient memory", NON); - /* NOTREACHED */ - } + error("Insufficient memory", NON); + /* NOTREACHED */ + return NULL; } /* --- lib/canna/multi.c +++ lib/canna/multi.c @@ -134,9 +134,9 @@ BYTE key; { int res, total_res, ginfo = 0; - int prevEchoLen = -1, prevRevPos, prevRevLen; - int prevGEchoLen, prevGRevPos, prevGRevLen; - wchar_t *prevEcho, *prevGEcho; + int prevEchoLen = -1, prevRevPos = -1, prevRevLen = -1; + int prevGEchoLen = -1, prevGRevPos = -1, prevGRevLen = -1; + wchar_t *prevEcho = NULL, *prevGEcho = NULL; BYTE *p, *actFromHash(); wchar_t *malloc_echo = (wchar_t *)0, *malloc_gline = (wchar_t *)0;
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