From 9f60d127b5371f2853dcc53903c6ff8c7670ad1b Mon Sep 17 00:00:00 2001 From: Tomas Carnecky Date: Wed, 4 Feb 2009 00:07:40 +0100 Subject: [PATCH] Fix "warning: braces around scalar initializer" Signed-off-by: Tomas Carnecky Signed-off-by: Peter Hutterer --- hw/xfree86/common/xf86Bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c index 1f8e4debb..69f515229 100644 --- a/hw/xfree86/common/xf86Bus.c +++ b/hw/xfree86/common/xf86Bus.c @@ -66,7 +66,7 @@ xf86AccessRec AccessNULL = { noopEnableDisable, noopEnableDisable, NULL }; xf86CurrentAccessRec xf86CurrentAccess = {NULL,NULL}; -BusRec primaryBus = { BUS_NONE, {{0}}}; +BusRec primaryBus = { BUS_NONE, { 0 } }; static Bool xf86ResAccessEnter = FALSE;