Changeset d8f02df for lib/format_wag.c


Ignore:
Timestamp:
02/27/06 16:53:10 (16 years ago)
Author:
Perry Lorier <perry@…>
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:
5fb2251
Parents:
8a8e54b
Message:

Cleanup even more warnings (Finding a few bugs where functions don't always
call return!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_wag.c

    rab4cb04 rd8f02df  
    185185                        assert(OPTIONS.zlib.level>=0
    186186                                        && OPTIONS.zlib.level<=9);
    187                         break;
     187                        return 0;
    188188#else
    189189                case TRACE_OPTION_OUTPUT_COMPRESS:
     
    204204{
    205205        close(INPUT.fd);
     206
     207        return 0;
    206208}
    207209
     
    224226
    225227static int wag_read(struct libtrace_t *libtrace, void *buffer, size_t len) {
    226         int numbytes;
    227         int framesize;
     228        size_t framesize;
    228229        char *buf_ptr = (char *)buffer;
    229230        int to_read = 0;
    230231        uint16_t magic = 0;
    231         uint16_t lctr = 0;
    232232
    233233        assert(libtrace);
Note: See TracChangeset for help on using the changeset viewer.