Ignore:
Timestamp:
09/25/15 15:04:46 (6 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, 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:
f6366a7
Parents:
10553bf
Message:

Fix errors/warnings that appeared on Fedora

Main problem was that we had an inline function that was defined in
a different place to where it was declared.

Also fixed a couple of uninitialised variables that weren't likely to be
a problem but better safe than sorry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols_pktmeta.c

    rf7bcbfb r26c2d4c  
    175175{
    176176        void *nexthdr;
    177         uint16_t arphrd;
    178         uint16_t next;
     177        uint16_t arphrd = 0;
     178        uint16_t next = 0;
    179179       
    180180        assert(meta != NULL);
Note: See TracChangeset for help on using the changeset viewer.