Use complete struct initialization to avoid spurious pointers.

This commit is contained in:
flameeyes
2006-02-27 10:29:20 +00:00
parent 2658374d89
commit 3658a88d65
3 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: device.c,v 1.34 2006/02/18 19:36:07 rocky Exp $
$Id: device.c,v 1.35 2006/02/27 10:29:20 flameeyes Exp $
Copyright (C) 2005, 2006 Rocky Bernstein <rocky@panix.com>
@@ -48,7 +48,7 @@
/* The below array gives of the drivers that are currently available for
on a particular host. */
CdIo_driver_t CdIo_driver[CDIO_MAX_DRIVER] = { {0} };
CdIo_driver_t CdIo_driver[CDIO_MAX_DRIVER] = { {0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} };
/* The last valid entry of Cdio_driver.
-1 or (CDIO_DRIVER_UNINIT) means uninitialzed.