[PATCH] Fix "warning: braces around scalar initializer"

Tomas Carnecky tom at dbservice.com
Tue Feb 3 15:07:40 PST 2009


Signed-off-by: Tomas Carnecky <tom at dbservice.com>
---
 hw/xfree86/common/xf86Bus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c
index 1f8e4de..69f5152 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;
 
-- 
1.6.1.2





More information about the xorg mailing list