The attached patch gets rid of the last missing initializer warnings.
Ciao
J�rg
--
Joerg Mayer <jmayer@xxxxxxxxx>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.
Changelog: <jmayer@xxxxxxxxx>
- Fix the "missing initializer" warnings when compiling
with gccs -W option.
Index: ethereal/gtk/gtkclist.c
===================================================================
RCS file: /cvsroot/ethereal/gtk/gtkclist.c,v
retrieving revision 1.8
diff -u -u -r1.8 gtkclist.c
--- gtkclist.c 2001/04/24 00:28:21 1.8
+++ gtkclist.c 2001/05/19 19:53:27
@@ -2393,7 +2393,7 @@
gint vertical,
gint horizontal)
{
- GtkRequisition requisition = { 0 };
+ GtkRequisition requisition = { 0, 0 };
GtkCListRow *clist_row;
g_return_if_fail (clist != NULL);
@@ -3216,7 +3216,7 @@
gint column,
GtkStyle *style)
{
- GtkRequisition requisition = { 0 };
+ GtkRequisition requisition = { 0, 0 };
GtkCListRow *clist_row;
g_return_if_fail (clist != NULL);
@@ -7120,7 +7120,7 @@
static gint
horizontal_timeout (GtkCList *clist)
{
- GdkEventMotion event = { 0 };
+ GdkEventMotion event;
GDK_THREADS_ENTER ();
@@ -7139,7 +7139,7 @@
static gint
vertical_timeout (GtkCList *clist)
{
- GdkEventMotion event = { 0 };
+ GdkEventMotion event;
GDK_THREADS_ENTER ();
@@ -7344,7 +7344,7 @@
GList *a, /* first list to merge */
GList *b) /* second list to merge */
{
- GList z = { 0 }; /* auxiliary node */
+ GList z = { NULL, NULL, NULL }; /* auxiliary node */
GList *c;
gint cmp;