forked from osmocom/wireshark
Changes to structure initializations not to initialize some but not all
members, from Joerg Mayer. svn path=/trunk/; revision=3501
This commit is contained in:
parent
14ab278788
commit
b699efc451
2
AUTHORS
2
AUTHORS
|
@ -76,6 +76,8 @@ Joerg Mayer <jmayer@loplof.de> {
|
|||
NTP fixes
|
||||
DHCP support for Intel PXEclient DHCP requests
|
||||
Support for "-N" flag enabling selected forms of name resolution
|
||||
Changes to structure initializations not to initialize some but
|
||||
not all members
|
||||
}
|
||||
|
||||
Martin Maciaszek <fastjack@i-s-o.net> {
|
||||
|
|
24
capture.c
24
capture.c
|
@ -1,7 +1,7 @@
|
|||
/* capture.c
|
||||
* Routines for packet capture windows
|
||||
*
|
||||
* $Id: capture.c,v 1.149 2001/05/01 00:18:46 guy Exp $
|
||||
* $Id: capture.c,v 1.150 2001/06/02 06:26:52 guy Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@zing.org>
|
||||
|
@ -1230,17 +1230,17 @@ capture(gboolean *stats_known, struct pcap_stat *stats)
|
|||
gint *value_ptr;
|
||||
GtkWidget *label, *value, *percent;
|
||||
} counts[] = {
|
||||
{ "Total", &ld.counts.total },
|
||||
{ "SCTP", &ld.counts.sctp },
|
||||
{ "TCP", &ld.counts.tcp },
|
||||
{ "UDP", &ld.counts.udp },
|
||||
{ "ICMP", &ld.counts.icmp },
|
||||
{ "OSPF", &ld.counts.ospf },
|
||||
{ "GRE", &ld.counts.gre },
|
||||
{ "NetBIOS", &ld.counts.netbios },
|
||||
{ "IPX", &ld.counts.ipx },
|
||||
{ "VINES", &ld.counts.vines },
|
||||
{ "Other", &ld.counts.other }
|
||||
{ "Total", &ld.counts.total, NULL, NULL, NULL },
|
||||
{ "SCTP", &ld.counts.sctp, NULL, NULL, NULL },
|
||||
{ "TCP", &ld.counts.tcp, NULL, NULL, NULL },
|
||||
{ "UDP", &ld.counts.udp, NULL, NULL, NULL },
|
||||
{ "ICMP", &ld.counts.icmp, NULL, NULL, NULL },
|
||||
{ "OSPF", &ld.counts.ospf, NULL, NULL, NULL },
|
||||
{ "GRE", &ld.counts.gre, NULL, NULL, NULL },
|
||||
{ "NetBIOS", &ld.counts.netbios, NULL, NULL, NULL },
|
||||
{ "IPX", &ld.counts.ipx, NULL, NULL, NULL },
|
||||
{ "VINES", &ld.counts.vines, NULL, NULL, NULL },
|
||||
{ "Other", &ld.counts.other, NULL, NULL, NULL }
|
||||
};
|
||||
|
||||
#define N_COUNTS (sizeof counts / sizeof counts[0])
|
||||
|
|
|
@ -2393,7 +2393,7 @@ gtk_clist_set_shift (GtkCList *clist,
|
|||
gint vertical,
|
||||
gint horizontal)
|
||||
{
|
||||
GtkRequisition requisition = { 0 };
|
||||
GtkRequisition requisition = { 0, 0 };
|
||||
GtkCListRow *clist_row;
|
||||
|
||||
g_return_if_fail (clist != NULL);
|
||||
|
@ -3216,7 +3216,7 @@ gtk_clist_set_cell_style (GtkCList *clist,
|
|||
gint column,
|
||||
GtkStyle *style)
|
||||
{
|
||||
GtkRequisition requisition = { 0 };
|
||||
GtkRequisition requisition = { 0, 0 };
|
||||
GtkCListRow *clist_row;
|
||||
|
||||
g_return_if_fail (clist != NULL);
|
||||
|
@ -7120,7 +7120,7 @@ move_vertical (GtkCList *clist,
|
|||
static gint
|
||||
horizontal_timeout (GtkCList *clist)
|
||||
{
|
||||
GdkEventMotion event = { 0 };
|
||||
GdkEventMotion event;
|
||||
|
||||
GDK_THREADS_ENTER ();
|
||||
|
||||
|
@ -7139,7 +7139,7 @@ horizontal_timeout (GtkCList *clist)
|
|||
static gint
|
||||
vertical_timeout (GtkCList *clist)
|
||||
{
|
||||
GdkEventMotion event = { 0 };
|
||||
GdkEventMotion event;
|
||||
|
||||
GDK_THREADS_ENTER ();
|
||||
|
||||
|
@ -7344,7 +7344,7 @@ gtk_clist_merge (GtkCList *clist,
|
|||
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;
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ http://developer.novell.com/ndk/doc/docui/index.htm#../ncp/ncp__enu/data/
|
|||
for a badly-formatted HTML version of the same PDF.
|
||||
|
||||
|
||||
$Id: ncp2222.py,v 1.7 2000/09/22 16:37:49 gram Exp $
|
||||
$Id: ncp2222.py,v 1.8 2001/06/02 06:26:53 guy Exp $
|
||||
|
||||
Copyright (c) 2000 by Gilbert Ramirez <gram@xiexie.org>
|
||||
|
||||
|
@ -1451,7 +1451,7 @@ proto_register_ncp2222(void)
|
|||
print '\t\t%s, NULL, %s, NULL,' % (ptvc_request, ptvc_reply)
|
||||
print '\t\t%s },\n' % (errors.Name())
|
||||
|
||||
print '\t{ 0, 0, 0, NULL }'
|
||||
print '\t{ 0, 0, 0, NULL, 0, NULL, NULL, NULL, NULL, NULL }'
|
||||
print "};\n"
|
||||
|
||||
print "/* ncp funcs that require a subfunc */"
|
||||
|
|
|
@ -1884,7 +1884,7 @@ static const vsff cb1_proc[] = {
|
|||
NULL, NULL },
|
||||
{ CBPROC_ERROR, "NULL",
|
||||
dissect_nisplus_error, NULL },
|
||||
{ 0, NULL },
|
||||
{ 0, NULL, NULL, NULL },
|
||||
};
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue