mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
treewide: clean up static zero initialization
Do it the ISO C way. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
331510cc8f
commit
5ea2496d20
@@ -47,7 +47,7 @@ typedef struct GlxVendorPrivDispatchRec {
|
||||
HashTable hh;
|
||||
} GlxVendorPrivDispatch;
|
||||
|
||||
static GlxServerDispatchProc dispatchFuncs[OPCODE_ARRAY_LEN] = {};
|
||||
static GlxServerDispatchProc dispatchFuncs[OPCODE_ARRAY_LEN] = { 0 };
|
||||
static HashTable vendorPrivHash = NULL;
|
||||
static HtGenericHashSetupRec vendorPrivSetup = {
|
||||
.keySize = sizeof(CARD32)
|
||||
@@ -192,7 +192,7 @@ static int CommonMakeCurrent(ClientPtr client,
|
||||
GLXDrawable readdrawable,
|
||||
GLXContextID context)
|
||||
{
|
||||
xGLXMakeCurrentReply reply = {};
|
||||
xGLXMakeCurrentReply reply = { 0 };
|
||||
GlxContextTagInfo *oldTag = NULL;
|
||||
GlxServerVendor *newVendor = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user