Changeset 4209

Show
Ignore:
Timestamp:
07/01/08 17:26:07 (6 years ago)
Author:
piers
Message:

Initialise various variables to zero

Location:
vic/branches/mpeg4/net
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/mpeg4/net/pktbuf.cpp

    r962 r4209  
    3636#include "pktbuf.h" 
    3737 
    38 pktbuf* BufferPool::freebufs_; 
    39 int BufferPool::nbufs_; 
     38pktbuf* BufferPool::freebufs_=0; 
     39int BufferPool::nbufs_=0; 
    4040 
    4141/*static class BufferPoolClass : public TclClass { 
  • vic/branches/mpeg4/net/pktbuf.h

    r3702 r4209  
    8787class pktbuf : public Buffer { 
    8888public: 
     89        pktbuf(): layer(0),len(0),ref(0) {}; 
    8990        pktbuf* next; 
    9091        int layer;