Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
dx
dx-4.4.4-uninitialized_var.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dx-4.4.4-uninitialized_var.patch of Package dx
--- src/exec/dpexec/command.c +++ src/exec/dpexec/command.c @@ -425,6 +425,7 @@ int optlen = 0; int opterr = FALSE; + dpentry.SwapMsg = 0; if(add) { if(options && *options != '-') { /* print error but add to table anyway */ --- src/exec/dpexec/remote.c +++ src/exec/dpexec/remote.c @@ -754,6 +754,15 @@ return _dxfExRemote(in, out); } +void +_dxfExRemoteDXqmessage(char *who, char *message, ...) +{ + va_list arg; + va_start(arg,message); + DXqmessage(who, message, arg); + va_end(arg); +} + Error _dxfExRemote (Object *in, Object *out) { @@ -991,7 +1000,7 @@ if (!msgObj || !DXExtractString(msgObj, &msg)) goto message_cleanup; - DXqmessage (who, msg, nolist); + _dxfExRemoteDXqmessage (who, msg); } /* async request */ if (isMsg == 2) --- src/exec/dxmods/_regstream.c +++ src/exec/dxmods/_regstream.c @@ -1063,6 +1063,13 @@ mOut.b[0] = -(mIn.b[0]*mOut.A[0][0] + mIn.b[1]*mOut.A[0][1]); mOut.b[1] = -(mIn.b[0]*mOut.A[1][0] + mIn.b[1]*mOut.A[1][1]); +/* initialize third component of matrix to zero */ + mOut.A[0][2] = 0; + mOut.A[1][2] = 0; + mOut.A[2][0] = 0; + mOut.A[2][1] = 0; + mOut.A[2][2] = 0; + mOut.b[2] = 0; return mOut; } } --- src/exec/hwrender/hwDraw.c +++ src/exec/hwrender/hwDraw.c @@ -63,7 +63,7 @@ DEFGLOBALDATA(globals); DEFPORT(PORT_HANDLE); gatherO gather = NULL; - int r; + int r = 0; #if defined(DX_NATIVE_WINDOWS) --- src/exec/libdx/axes.c +++ src/exec/libdx/axes.c @@ -291,7 +291,7 @@ static Matrix zero; /* zero matrix */ Matrix t; /* matrix */ float z; /* z distance above face for marks */ - Object font=NULL; /* font for labels */ + Object font = NULL; /* font for labels */ static float ascent; /* baseline to top of label */ float xwidth; /* max width of x axis tick labels */ float ywidth; /* max width of y axis tick labels */ --- src/uipp/dxuilib/GraphLayout.C +++ src/uipp/dxuilib/GraphLayout.C @@ -1405,7 +1405,7 @@ // void GraphLayout::repositionNewPlacements (Node* root, boolean disjoint, List& placed) { - Node* n; + Node* n = NULL; NodeInfo* ninfo = (NodeInfo*)root->getLayoutInformation(); LayoutGroup* group = ninfo->getLayoutGroup(); placed.appendElement(root); --- src/uipp/widgets/findcolor.c +++ src/uipp/widgets/findcolor.c @@ -138,6 +138,8 @@ tmp.green = cell_def[i].green; tmp.blue = cell_def[i].blue; tmp.pixel = cell_def[i].pixel; + tmp.flags = DoRed | DoGreen | DoBlue; + tmp.pad = 0; } break; default:
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