Changeset 6342c18


Ignore:
Timestamp:
11/23/05 12:45:38 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
187a6d6
Parents:
f3ed52a
Message:

initilisation of eventobj_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_helper.c

    rf428afb r6342c18  
    4646
    4747struct libtrace_eventobj_t trace_event_device(struct libtrace_t *trace, struct libtrace_packet_t *packet) {
    48         struct libtrace_eventobj_t event;
     48        struct libtrace_eventobj_t event = {0,0,0.0,0};
    4949        int data;
    5050
     
    6767
    6868struct libtrace_eventobj_t trace_event_trace(struct libtrace_t *trace, struct libtrace_packet_t *packet) {
    69         struct libtrace_eventobj_t event;
     69        struct libtrace_eventobj_t event = {0,0,0.0,0};
    7070        double ts;
    7171        double now;
Note: See TracChangeset for help on using the changeset viewer.