[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] Patch: initialize variables (pedantic defensive
From: |
Christian Grothoff |
Subject: |
Re: [GNUnet-developers] Patch: initialize variables (pedantic defensive programming |
Date: |
Thu, 6 Feb 2003 14:00:57 -0500 |
User-agent: |
KMail/1.4.3 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
This is not such a great idea since the compiler would no longer warn you if
you use a variable before initializing it (all variables would be considered
initialized). Uninitialized use can be statically checked and thus should not
be made explicit like this.
Just my 2 cents...
Christian
On Thursday 06 February 2003 12:32 pm, address@hidden wrote:
> Index: src/applications/afs/database/contentdatabase.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/database/contentdatabase.c,v
> retrieving revision 1.15
> diff -r1.15 contentdatabase.c
> 67,70c67,70
> < DatabaseHandle * result;
> < char * dir;
> < char * bucketname;
> < int i;
> ---
>
> > DatabaseHandle * result = NULL;
> > char * dir = NULL;
> > char * bucketname = NULL;
> > int i = 0;
>
> 126c126
> < int i;
> ---
>
> > int i = 0;
>
> 150c150
> < int i;
> ---
>
> > int i = 0;
>
> 163c163
> < int i;
> ---
>
> > int i = 0;
>
> Index: src/applications/afs/database/contentdatabase_directory.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/database/contentdatabase_direct
>ory.c,v retrieving revision 1.14
> diff -r1.14 contentdatabase_directory.c
> 58,59c58,59
> < char * result;
> < char * tmp;
> ---
>
> > char * result = NULL;
> > char * tmp = NULL;
>
> 75c75
> < char * dbh;
> ---
>
> > char * dbh = NULL;
>
> 102,103c102,103
> < DIR * dinfo;
> < struct dirent *finfo;
> ---
>
> > DIR * dinfo = NULL;
> > struct dirent *finfo = NULL;
>
> 105c105
> < int count;
> ---
>
> > int count = 0;
>
> 159,160c159,160
> < int handle;
> < int size;
> ---
>
> > int handle = 0;
> > int size = 0;
>
> 162,163c162,163
> < char * fil;
> < size_t fsize;
> ---
>
> > char * fil = NULL;
> > size_t fsize = 0;
>
> 202,203c202,203
> < char * fil;
> < int handle;
> ---
>
> > char * fil = NULL;
> > int handle = 0;
>
> 231c231
> < char * fil;
> ---
>
> > char * fil = NULL;
>
> Index: src/applications/afs/database/contentdatabase_gdbm.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/database/contentdatabase_gdbm.c
>,v retrieving revision 1.19
> diff -r1.19 contentdatabase_gdbm.c
> 74,75c74,75
> < char * ff;
> < gdbmHandle * result;
> ---
>
> > char * ff = NULL;
> > gdbmHandle * result = NULL;
>
> 111c111
> < gdbmHandle * dbh;
> ---
>
> > gdbmHandle * dbh = NULL;
>
> 144c144
> < int count;
> ---
>
> > int count = 0;
>
> 192c192
> < int count;
> ---
>
> > int count = 0;
>
> Index: src/applications/afs/database/contentdatabase_tdb.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/database/contentdatabase_tdb.c,
>v retrieving revision 1.13
> diff -r1.13 contentdatabase_tdb.c
> 72,73c72,73
> < char * ff;
> < tdbHandle * dbh;
> ---
>
> > char * ff = NULL;
> > tdbHandle * dbh = NULL;
>
> 143c143
> < int count;
> ---
>
> > int count = 0;
>
> 190c190
> < int count;
> ---
>
> > int count = 0;
>
> Index: src/applications/afs/database/fileindex.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/database/fileindex.c,v
> retrieving revision 1.12
> diff -r1.12 fileindex.c
> 55c55
> < static unsigned short indexed_files_size;
> ---
>
> > static unsigned short indexed_files_size = 0;
>
> 60c60
> < static unsigned short indexed_files_count;
> ---
>
> > static unsigned short indexed_files_count = 0;
>
> 70c70
> < static int stat_indexed_files_count;
> ---
>
> > static int stat_indexed_files_count = 0;
>
> 75c75
> < static int stat_indexed_files_size;
> ---
>
> > static int stat_indexed_files_size = 0;
>
> 77c77
> < static char * shared_file_list;
> ---
>
> > static char * shared_file_list = NULL;
>
> 98,103c98,103
> < char * fil;
> < FILE * handle;
> < char * result;
> < char * line;
> < int pos;
> < unsigned long long totalSize;
> ---
>
> > char * fil = NULL;
> > FILE * handle = NULL;
> > char * result = NULL;
> > char * line = NULL;
> > int pos = 0;
> > unsigned long long totalSize = 0;
>
> 203c203
> < int i;
> ---
>
> > int i = 0;
>
> 222c222
> < char * res;
> ---
>
> > char * res = NULL;
>
> 251c251
> < int i;
> ---
>
> > int i = 0;
>
> 253c253
> < char * fn;
> ---
>
> > char * fn = NULL;
>
> 306,311c306,311
> < char * fil;
> < FILE * handle;
> < int result;
> < char * line;
> < char * scanf;
> < unsigned short pos;
> ---
>
> > char * fil = NULL;
> > FILE * handle = NULL;
> > int result = NULL;
> > char * line = NULL;
> > char * scanf = NULL;
> > unsigned short pos = 0;
>
> Index: src/applications/afs/database/lookup.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/database/lookup.c,v
> retrieving revision 1.42
> diff -r1.42 lookup.c
> 49c49
> < static CollisionLevel * rootLevel;
> ---
>
> > static CollisionLevel * rootLevel = NULL;
>
> 77,80c77,80
> < CollisionLevel * tmp;
> < char * fileName;
> < char * fileNameDotted;
> < int i;
> ---
>
> > CollisionLevel * tmp = NULL;
> > char * fileName = NULL;
> > char * fileNameDotted = NULL;
> > int i = 0;
>
> 132,133c132,133
> < CollisionLevel * tmp;
> < int i;
> ---
>
> > CollisionLevel * tmp = NULL;
> > int i = 0;
>
> 188,190c188,190
> < HashCode160 * slotQuery;
> < int j;
> < size_t off;
> ---
>
> > HashCode160 * slotQuery = NULL;
> > int j = 0;
> > size_t off = 0;
>
> 268,271c268,271
> < HashCode160 * slotQuery;
> < int j;
> < int emptySlot;
> < int size;
> ---
>
> > HashCode160 * slotQuery = NULL;
> > int j = 0;
> > int emptySlot = 0;
> > int size = 0;
>
> 335,336c335,336
> < CollisionLevel * current;
> < unsigned int pos;
> ---
>
> > CollisionLevel * current = NULL;
> > unsigned int pos = 0;
>
> 338c338
> < unsigned int count;
> ---
>
> > unsigned int count = 0;
>
> 391c391
> < LookupDatabaseIterator * ldi;
> ---
>
> > LookupDatabaseIterator * ldi = NULL;
>
> 505,506c505,506
> < HashCode160 * slotQuery;
> < int size;
> ---
>
> > HashCode160 * slotQuery = NULL;
> > int size = 0;
>
> 508,511c508,511
> < int hasFreeBlock;
> < int hasDeletedBlock;
> < int j;
> < size_t pos;
> ---
>
> > int hasFreeBlock = 0;
> > int hasDeletedBlock = 0;
> > int j = 0;
> > size_t pos = 0;
>
> Index: src/applications/afs/database/manager.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/database/manager.c,v
> retrieving revision 1.30
> diff -r1.30 manager.c
> 62c62
> < static double lowImportance;
> ---
>
> > static double lowImportance = 0;
>
> 68c68
> < static int MANAGER_age;
> ---
>
> > static int MANAGER_age = 0;
>
> 75c75
> < static int useActiveMigration;
> ---
>
> > static int useActiveMigration = 0;
>
> 80c80
> < static LookupDatabaseIterator * ldi_discarding;
> ---
>
> > static LookupDatabaseIterator * ldi_discarding = NULL;
>
> 85c85
> < static LookupDatabaseIterator * ldi_migration;
> ---
>
> > static LookupDatabaseIterator * ldi_migration = NULL;
>
> 106,107c106,107
> < CollisionLevel * level;
> < double out;
> ---
>
> > CollisionLevel * level = NULL;
> > double out = 0;
>
> 174,175c174,175
> < char * fileName;
> < int handle;
> ---
>
> > char * fileName = NULL;
> > int handle = 0;
>
> 205c205
> < int handle;
> ---
>
> > int handle = 0;
>
> 228,230c228,230
> < char * fn;
> < int fileHandle;
> < ssize_t blen;
> ---
>
> > char * fn = NULL;
> > int fileHandle = 0;
> > ssize_t blen = 0;
>
> 232c232
> < CONTENT_Block * iobuf;
> ---
>
> > CONTENT_Block * iobuf = NULL;
>
> 306,309c306,309
> < unsigned int avDist;
> < unsigned int dist;
> < CollisionLevel * level;
> < int itc;
> ---
>
> > unsigned int avDist = 0;
> > unsigned int dist = 0;
> > CollisionLevel * level = NULL;
> > int itc = 0;
>
> 345c345
> < CONTENT_Block * data;
> ---
>
> > CONTENT_Block * data = NULL;
>
> 386,388c386,388
> < AFS_p2p_CHK_RESULT * pmsg;
> < int res;
> < void * data;
> ---
>
> > AFS_p2p_CHK_RESULT * pmsg = NULL;
> > int res = 0;
> > void * data = NULL;
>
> 419c419
> < int handle;
> ---
>
> > int handle = 0;
>
> 551,552c551,552
> < void * old;
> < int oldLen;
> ---
>
> > void * old = NULL;
> > int oldLen = 0;
>
> Index: src/applications/afs/encoding/block.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/encoding/block.c,v
> retrieving revision 1.38
> diff -r1.38 block.c
> 48,49c48,49
> < unsigned short treeDepth;
> < long fl;
> ---
>
> > unsigned short treeDepth = 0;
> > long fl = 0;
>
> 73,74c73,74
> < int i;
> < char * fn;
> ---
>
> > int i = 0;
> > char * fn = NULL;
>
> 130,131c130,131
> < int ret;
> < size_t lpos;
> ---
>
> > int ret = 0;
> > size_t lpos = 0;
>
> 162,163c162,163
> < int ret;
> < size_t lpos;
> ---
>
> > int ret = 0;
> > size_t lpos = 0;
>
> 192,193c192,193
> < int i;
> < char * fn;
> ---
>
> > int i = 0;
> > char * fn = NULL;
>
> 232,233c232,233
> < int res;
> < AFS_CS_INSERT_CHK * request;
> ---
>
> > int res = 0;
> > AFS_CS_INSERT_CHK * request = NULL;
>
> 272c272
> < void * edata;
> ---
>
> > void * edata = NULL;
>
> 306,307c306,307
> < int res;
> < void * edata;
> ---
>
> > int res = 0;
> > void * edata = NULL;
>
> 376c376
> < int res;
> ---
>
> > int res = 0;
>
> 449c449
> < void * edata;
> ---
>
> > void * edata = NULL;
>
> 501c501
> < size_t filesize;
> ---
>
> > size_t filesize = 0;
>
> 569c569
> < int res;
> ---
>
> > int res = 0;
>
> 621c621
> < AFS_CS_QUERY * msg;
> ---
>
> > AFS_CS_QUERY * msg = NULL;
>
> 695,696c695,696
> < int i;
> < int live;
> ---
>
> > int i = 0;
> > int live = 0;
>
> 771,774c771,774
> < int i;
> < size_t childCover;
> < Block * child;
> < IBlockData * ibd;
> ---
>
> > int i = 0;
> > size_t childCover = 0;
> > Block * child = NULL;
> > IBlockData * ibd = NULL;
>
> 776,777c776,777
> < int ret;
> < void * edata;
> ---
>
> > int ret = 0;
> > void * edata = NULL;
>
> 862,863c862,863
> < int i;
> < IBlockData * ibd;
> ---
>
> > int i = 0;
> > IBlockData * ibd = NULL;
>
> 912,914c912,914
> < int i;
> < IBlockData * ibd;
> < Block * child;
> ---
>
> > int i = 0;
> > IBlockData * ibd = NULL;
> > Block * child = NULL;
>
> 947,950c947,950
> < IBlockData * ibd;
> < AFS_CS_QUERY * msg;
> < int liveChildren;
> < int i;
> ---
>
> > IBlockData * ibd = NULL;
> > AFS_CS_QUERY * msg = NULL;
> > int liveChildren = 0;
> > int i = 0;
>
> 1108c1108
> < int res;
> ---
>
> > int res = 0;
>
> 1162c1162
> < int isPresent;
> ---
>
> > int isPresent = 0;
>
> 1239c1239
> < int i;
> ---
>
> > int i = 0;
>
> 1287c1287
> < DBlock * res;
> ---
>
> > DBlock * res = NULL;
>
> 1313c1313
> < int i;
> ---
>
> > int i = 0;
>
> 1333,1335c1333,1335
> < int i;
> < int childCover;
> < int myCover;
> ---
>
> > int i = 0;
> > int childCover = 0;
> > int myCover = 0;
>
> 1385c1385
> < IBlock * res;
> ---
>
> > IBlock * res = NULL;
>
> 1413c1413
> < DBlock * res;
> ---
>
> > DBlock * res = NULL;
>
> 1441c1441
> < IBlock * res;
> ---
>
> > IBlock * res = NULL;
>
> 1478,1479c1478,1479
> < int i;
> < int pendingChildren;
> ---
>
> > int i = 0;
> > int pendingChildren = 0;
>
> Index: src/applications/afs/encoding/downloadutil.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/encoding/downloadutil.c,v
> retrieving revision 1.14
> diff -r1.14 downloadutil.c
> 82,85c82,85
> < NodeContext * nc;
> < Block * top;
> < RequestManager * rm;
> < struct PMWrap * wrap;
> ---
>
> > NodeContext * nc = NULL;
> > Block * top = NULL;
> > RequestManager * rm = NULL;
> > struct PMWrap * wrap = NULL;
>
> Index: src/applications/afs/encoding/insertutil.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/encoding/insertutil.c,v
> retrieving revision 1.9
> diff -r1.9 insertutil.c
> 50,51c50,51
> < AFS_CS_INDEX_FILE * request;
> < int result;
> ---
>
> > AFS_CS_INDEX_FILE * request = NULL;
> > int result = 0;
>
> 113c113
> < int res;
> ---
>
> > int res = 0;
>
> 177,179c177,179
> < size_t filesize;
> < Block * top;
> < int res;
> ---
>
> > size_t filesize = 0;
> > Block * top = NULL;
> > int res = 0;
>
> 260,263c260,263
> < int i;
> < int priority;
> < RootNode * rn;
> < int res;
> ---
>
> > int i = 0;
> > int priority = 0;
> > RootNode * rn = NULL;
> > int res = 0;
>
> Index: src/applications/afs/encoding/keywords.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/encoding/keywords.c,v
> retrieving revision 1.7
> diff -r1.7 keywords.c
> 22,23c22,23
> < char * config;
> < EXTRACTOR_ExtractorList * exList;
> ---
>
> > char * config = NULL;
> > EXTRACTOR_ExtractorList * exList = NULL;
>
> 57c57
> < EXTRACTOR_ExtractorList * exList;
> ---
>
> > EXTRACTOR_ExtractorList * exList = NULL;
>
> 93,98c93,98
> < EXTRACTOR_KeywordList * keyList;
> < EXTRACTOR_KeywordList * pos;
> < char ** newKeywords;
> < char * key;
> < int count;
> < int i;
> ---
>
> > EXTRACTOR_KeywordList * keyList = NULL;
> > EXTRACTOR_KeywordList * pos = NULL;
> > char ** newKeywords = NULL;
> > char * key = NULL;
> > int count = 0;
> > int i = 0;
>
> Index: src/applications/afs/encoding/requestmanager.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/encoding/requestmanager.c,v
> retrieving revision 1.50
> diff -r1.50 requestmanager.c
> 87c87
> < int i;
> ---
>
> > int i = 0;
>
> 111c111
> < RequestEntry * entry;
> ---
>
> > RequestEntry * entry = NULL;
>
> 113,114c113,114
> < unsigned int ttl;
> < int i;
> ---
>
> > unsigned int ttl = 0;
> > int i = 0;
>
> 116,117c116,117
> < CS_HEADER * msg;
> < GNUNET_TCP_SOCKET * sock;
> ---
>
> > CS_HEADER * msg = NULL;
> > GNUNET_TCP_SOCKET * sock = NULL;
>
> 224c224
> < int i;
> ---
>
> > int i = 0;
>
> 275,276c275,276
> < CS_HEADER * buffer;
> < GNUNET_TCP_SOCKET * sock;
> ---
>
> > CS_HEADER * buffer = NULL;
> > GNUNET_TCP_SOCKET * sock = NULL;
>
> 328c328
> < RequestManager * rm;
> ---
>
> > RequestManager * rm = NULL;
>
> 395,396c395,396
> < GNUNET_TCP_SOCKET * sock;
> < int i;
> ---
>
> > GNUNET_TCP_SOCKET * sock = NULL;
> > int i = 0;
>
> 443,445c443,445
> < int pos;
> < int i;
> < int j;
> ---
>
> > int pos = 0;
> > int i = 0;
> > int j = 0;
>
> 447c447
> < RequestEntry * entry;
> ---
>
> > RequestEntry * entry = NULL;
>
> 523c523
> < RequestEntry * entry;
> ---
>
> > RequestEntry * entry = NULL;
>
> 587c587
> < int i;
> ---
>
> > int i = 0;
>
> 615c615
> < int i;
> ---
>
> > int i = 0;
>
> Index: src/applications/afs/encoding/searchutil.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/encoding/searchutil.c,v
> retrieving revision 1.25
> diff -r1.25 searchutil.c
> 94,95c94,95
> < HashCode160 * tmp;
> < int i;
> ---
>
> > HashCode160 * tmp = NULL;
> > int i = 0;
>
> 135,137c135,137
> < int i;
> < int j;
> < HashCode160 * tmp;
> ---
>
> > int i = 0;
> > int j = 0;
> > HashCode160 * tmp = NULL;
>
> 190c190
> < int c;
> ---
>
> > int c = 0;
>
> 219c219
> < int c;
> ---
>
> > int c = 0;
>
> 257,258c257,258
> < CS_HEADER * buffer;
> < AFS_CS_RESULT_3HASH * reply;
> ---
>
> > CS_HEADER * buffer = NULL;
> > AFS_CS_RESULT_3HASH * reply = NULL;
>
> 260,262c260,262
> < RootNode * rootNode;
> < int ttl;
> < int i;
> ---
>
> > RootNode * rootNode = NULL;
> > int ttl = 0;
> > int i = 0;
>
> 360,362c360,362
> < int i;
> < int remTime;
> < unsigned int ttl;
> ---
>
> > int i = 0;
> > int remTime = 0;
> > unsigned int ttl = 0;
>
> 419c419
> < int i;
> ---
>
> > int i = 0;
>
> 454,456c454,456
> < int keyCount;
> < int i;
> < char * tmp;
> ---
>
> > int keyCount = 0;
> > int i = 0;
> > char * tmp = NULL;
>
> Index: src/applications/afs/gtkui/download.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/gtkui/download.c,v
> retrieving revision 1.25
> diff -r1.25 download.c
> 81c81
> < double currentRetryAvg, averageBps;
> ---
>
> > double currentRetryAvg = 0, averageBps = 0;
>
> 172c172
> < GtkWidget * button;
> ---
>
> > GtkWidget * button = NULL;
>
> 275,280c275,280
> < GtkWidget * window;
> < GtkWidget * box;
> < GtkWidget * label;
> < GtkObject * adjustment;
> < char * fileNameRoot;
> < int i;
> ---
>
> > GtkWidget * window = NULL;
> > GtkWidget * box = NULL;
> > GtkWidget * label = NULL;
> > GtkObject * adjustment = NULL;
> > char * fileNameRoot = NULL;
> > int i = 0;
>
> Index: src/applications/afs/gtkui/helper.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/gtkui/helper.c,v
> retrieving revision 1.7
> diff -r1.7 helper.c
> 67,71c67,71
> < gchar *note;
> < GtkWidget * window;
> < GtkWidget * label;
> < GtkWidget * box;
> < GtkWidget * button;
> ---
>
> > gchar *note = NULL;
> > GtkWidget * window = NULL;
> > GtkWidget * label = NULL;
> > GtkWidget * box = NULL;
> > GtkWidget * button = NULL;
>
> Index: src/applications/afs/gtkui/insert.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/gtkui/insert.c,v
> retrieving revision 1.18
> diff -r1.18 insert.c
> 78,79c78,79
> < gchar *newKeyword;
> < int len,i;
> ---
>
> > gchar *newKeyword = NULL;
> > int len = 0, i = 0;
>
> 104c104
> < GList *tmp;
> ---
>
> > GList *tmp = NULL;
>
> 121,129c121,129
> < GtkWidget * window;
> < GtkWidget * vbox, * hbox;
> < GtkWidget * clist, * scrolled_window;
> < GtkWidget * label, * separator;
> < GtkWidget * button_add, * button_delete;
> < GtkWidget * button_ok, * button_cancel;
> < GtkWidget * keyword_line;
> < GSList *group;
> < GtkWidget * indexbutton1, * indexbutton2;
> ---
>
> > GtkWidget * window = NULL;
> > GtkWidget * vbox = NULL, * hbox = NULL;
> > GtkWidget * clist = NULL, * scrolled_window = NULL;
> > GtkWidget * label = NULL, * separator = NULL;
> > GtkWidget * button_add = NULL, * button_delete = NULL;
> > GtkWidget * button_ok = NULL, * button_cancel = NULL;
> > GtkWidget * keyword_line = NULL;
> > GSList *group = NULL;
> > GtkWidget * indexbutton1 = NULL, * indexbutton2 = NULL;
>
> 131c131
> < int i;
> ---
>
> > int i = 0;
>
> 298,300c298,300
> < gchar *filename;
> < FILE *fp;
> < int i;
> ---
>
> > gchar *filename = NULL;
> > FILE *fp = NULL;
> > int i = 0;
>
> 374,376c374,376
> < int res;
> < GNUNET_TCP_SOCKET * sock;
> < Block * top;
> ---
>
> > int res = 0;
> > GNUNET_TCP_SOCKET * sock = NULL;
> > Block * top = NULL;
>
> 462,466c462,466
> < GtkWidget * window;
> < GtkWidget * box;
> < GtkObject * adjustment;
> < char ** newKeywords;
> < int i;
> ---
>
> > GtkWidget * window = NULL;
> > GtkWidget * box = NULL;
> > GtkObject * adjustment = NULL;
> > char ** newKeywords = NULL;
> > int i = 0;
>
> 552,553c552,553
> < GtkWidget *window;
> < InsertModel *ilm;
> ---
>
> > GtkWidget *window = NULL;
> > InsertModel *ilm = NULL;
>
> Index: src/applications/afs/gtkui/main.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/gtkui/main.c,v
> retrieving revision 1.28
> diff -r1.28 main.c
> 83c83
> < gint page;
> ---
>
> > gint page = 0;
>
> 97c97,98
> < GtkWidget *window, *box1, *table, *text, *button;
> ---
>
> > GtkWidget *window = NULL, *box1 = NULL, *table = NULL,
> > *text = NULL, *button = NULL;
>
> 156,158c157,159
> < gchar * searchString;
> < GtkWidget * label, * tmp;
> < int len,i;
> ---
>
> > gchar * searchString = NULL;
> > GtkWidget * label = NULL, * tmp = NULL;
> > int len = 0, i = 0;
>
> 235,242c236,243
> < GtkWidget * window;
> < GtkWidget * button;
> < GtkWidget * hbox, * vbox;
> < GtkWidget * menubar;
> < GtkWidget * table;
> < GtkWidget * label;
> < GtkAccelGroup * accel_group;
> < GtkItemFactory * item_factory;
> ---
>
> > GtkWidget * window = NULL;
> > GtkWidget * button = NULL;
> > GtkWidget * hbox = NULL, * vbox = NULL;
> > GtkWidget * menubar = NULL;
> > GtkWidget * table = NULL;
> > GtkWidget * label = NULL;
> > GtkAccelGroup * accel_group = NULL;
> > GtkItemFactory * item_factory = NULL;
>
> 319c320
> < int c;
> ---
>
> > int c = 0;
>
> 372c373
> < char * downloadDir;
> ---
>
> > char * downloadDir = NULL;
>
> Index: src/applications/afs/gtkui/saveas.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/gtkui/saveas.c,v
> retrieving revision 1.17
> diff -r1.17 saveas.c
> 104c104
> < GtkWidget * window;
> ---
>
> > GtkWidget * window = 0;
>
> Index: src/applications/afs/gtkui/search.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/gtkui/search.c,v
> retrieving revision 1.29
> diff -r1.29 search.c
> 59,63c59,63
> < DownloadModel * dlm;
> < RootNode * root;
> < int descLen, nameLen;
> < gchar * tmp;
> < gint row;
> ---
>
> > DownloadModel * dlm = NULL;
> > RootNode * root = NULL;
> > int descLen = NULL, nameLen = NULL;
> > gchar * tmp = NULL;
> > gint row = 0;
>
> 157,158c157,158
> < GtkWidget * search_result_list;
> < gchar ** results;
> ---
>
> > GtkWidget * search_result_list = NULL;
> > gchar ** results = NULL;
>
> 257,266c257,266
> < HashCode160 * keys;
> < char ** keywords;
> < int num_keywords;
> < AFS_CS_QUERY ** messages;
> < _receiveResultArgs_ * receiveArgs;
> < SendQueriesContext * sqc;
> < int keywordsSize;
> < int pos;
> < int next;
> < int idx;
> ---
>
> > HashCode160 * keys = NULL;
> > char ** keywords = NULL;
> > int num_keywords = 0;
> > AFS_CS_QUERY ** messages = NULL;
> > _receiveResultArgs_ * receiveArgs = NULL;
> > SendQueriesContext * sqc = NULL;
> > int keywordsSize = 0;
> > int pos = 0;
> > int next = 0;
> > int idx = 0;
>
> 429,430c429,430
> < char * text1;
> < char * text2;
> ---
>
> > char * text1 = NULL;
> > char * text2 = NULL;
>
> 446,447c446,447
> < int value1;
> < int value2;
> ---
>
> > int value1 = 0;
> > int value2 = 0;
>
> 484,488c484,488
> < GtkWidget * scrolled_window;
> < GtkWidget * button;
> < GtkWidget * box;
> < GtkWidget * search_result_list;
> < ListModel * model;
> ---
>
> > GtkWidget * scrolled_window = NULL;
> > GtkWidget * button = NULL;
> > GtkWidget * box = NULL;
> > GtkWidget * search_result_list = NULL;
> > ListModel * model = NULL;
>
> Index: src/applications/afs/protocol/afs.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/protocol/afs.c,v
> retrieving revision 1.17
> diff -r1.17 afs.c
> 57,58c57,58
> < Bloomfilter * superBloomFilter;
> < Bloomfilter * singleBloomFilter;
> ---
>
> > Bloomfilter * superBloomFilter = NULL;
> > Bloomfilter * singleBloomFilter = NULL;
>
> 67,69c67,69
> < char * fn;
> < char * dtype;
> < int dbuckets;
> ---
>
> > char * fn = NULL;
> > char * dtype = NULL;
> > int dbuckets = 0;
>
> Index: src/applications/afs/protocol/handler.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/protocol/handler.c,v
> retrieving revision 1.28
> diff -r1.28 handler.c
> 58c58
> < static int fastInsert;
> ---
>
> > static int fastInsert = 0;
>
> 98,99c98,99
> < AFS_p2p_QUERY * qmsg;
> < int queries;
> ---
>
> > AFS_p2p_QUERY * qmsg = NULL;
> > int queries = 0;
>
> 134c134
> < int prio;
> ---
>
> > int prio = 0;
>
> 137,139c137,139
> < AFS_p2p_CHK_RESULT * cmsg;
> < int ret;
> < int dupe;
> ---
>
> > AFS_p2p_CHK_RESULT * cmsg = NULL;
> > int ret = 0;
> > int dupe = 0;
>
> 191,192c191,192
> < int prio;
> < AFS_p2p_3HASH_RESULT * cmsg;
> ---
>
> > int prio = 0;
> > AFS_p2p_3HASH_RESULT * cmsg = NULL;
>
> 196,197c196,197
> < int ret;
> < int dupe;
> ---
>
> > int ret = 0;
> > int dupe = 0;
>
> 266c266
> < AFS_p2p_QUERY * msg;
> ---
>
> > AFS_p2p_QUERY * msg = NULL;
>
> 268c268
> < int queries;
> ---
>
> > int queries = 0;
>
> 317,318c317,318
> < int ret;
> < int dupe;
> ---
>
> > int ret = 0;
> > int dupe = 0;
>
> 372,373c372,373
> < int dupe;
> < int ret;
> ---
>
> > int dupe = 0;
> > int ret = 0;
>
> Index: src/applications/afs/protocol/policy.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/protocol/policy.c,v
> retrieving revision 1.9
> diff -r1.9 policy.c
> 84,85c84,85
> < int distance;
> < int j;
> ---
>
> > int distance = 0;
> > int j = 0;
>
> Index: src/applications/afs/protocol/querymanager.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/protocol/querymanager.c,v
> retrieving revision 1.23
> diff -r1.23 querymanager.c
> 109c109
> < static unsigned int totalRecordCount;
> ---
>
> > static unsigned int totalRecordCount = 0;
>
> 119c119
> < static Mutex * queryManagerLock;
> ---
>
> > static Mutex * queryManagerLock = NULL;
>
> 163,164c163,164
> < unsigned int start;
> < unsigned int delta;
> ---
>
> > unsigned int start = 0;
> > unsigned int delta = 0;
>
> 212c212
> < int i;
> ---
>
> > int i = 0;
>
> 238c238
> < int i;
> ---
>
> > int i = 0;
>
> 258c258
> < int i;
> ---
>
> > int i = 0;
>
> 307c307
> < unsigned int avDist;
> ---
>
> > unsigned int avDist = 0;
>
> 374,376c374,376
> < unsigned int start;
> < unsigned int looped_once;
> < QueryRecord * qr;
> ---
>
> > unsigned int start = 0;
> > unsigned int looped_once = 0;
> > QueryRecord * qr = NULL;
>
> Index: src/applications/afs/protocol/routing.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/protocol/routing.c,v
> retrieving revision 1.42
> diff -r1.42 routing.c
> 47c47
> < static unsigned int indirectionTableSize;
> ---
>
> > static unsigned int indirectionTableSize = 0;
>
> 145c145
> < static IndirectionTableEntry * ROUTING_indTable_;
> ---
>
> > static IndirectionTableEntry * ROUTING_indTable_ = NULL;
>
> 151c151
> < static int stat_cs_reply_content_out;
> ---
>
> > static int stat_cs_reply_content_out = 0;
>
> 156,158c156,158
> < static int stat_content_in_ok;
> < static int stat_content_in_dupe;
> < static int stat_content_in_orphan;
> ---
>
> > static int stat_content_in_ok = 0;
> > static int stat_content_in_dupe = 0;
> > static int stat_content_in_orphan = 0;
>
> 196c196
> < int i;
> ---
>
> > int i = 0;
>
> 286c286
> < IndirectionTableEntry * ite;
> ---
>
> > IndirectionTableEntry * ite = NULL;
>
> 365,367c365,367
> < int j;
> < int doTcp;
> < CS_HEADER * reply;
> ---
>
> > int j = 0;
> > int doTcp = 0;
> > CS_HEADER * reply = NULL;
>
> 421,423c421,423
> < int i;
> < int j;
> < IndirectionTableEntry * ite;
> ---
>
> > int i = 0;
> > int j = 0;
> > IndirectionTableEntry * ite = NULL;
>
> 441c441
> < unsigned int i;
> ---
>
> > unsigned int i = 0;
>
> 481c481
> < int i;
> ---
>
> > int i = 0;
>
> 499,500c499,500
> < int i;
> < IndirectionTableEntry * ite;
> ---
>
> > int i = 0;
> > IndirectionTableEntry * ite = NULL;
>
> 577c577
> < HostIdentity * sender;
> ---
>
> > HostIdentity * sender = NULL;
>
> 579,580c579,580
> < unsigned int prio;
> < int count;
> ---
>
> > unsigned int prio = 0;
> > int count = 0;
>
> 582,585c582,585
> < CollisionLevel * level;
> < CONTENT_Block * result;
> < int len;
> < int found;
> ---
>
> > CollisionLevel * level = NULL;
> > CONTENT_Block * result = NULL;
> > int len = 0;
> > int found = 0;
>
> 613,615c613,615
> < int i;
> < int routeCount;
> < int superBF;
> ---
>
> > int i = 0;
> > int routeCount = 0;
> > int superBF = 0;
>
> 744,748c744,748
> < p2p_HEADER * pmsg;
> < IndirectionTableEntry * ite;
> < int rcount;
> < int i;
> < int * perm;
> ---
>
> > p2p_HEADER * pmsg = NULL;
> > IndirectionTableEntry * ite = NULL;
> > int rcount = 0;
> > int i = 0;
> > int * perm = NULL;
>
> 880,881c880,881
> < unsigned int i;
> < CONTENT_Block * content;
> ---
>
> > unsigned int i = 0;
> > CONTENT_Block * content = NULL;
>
> 883c883
> < HashCode160 * tmp;
> ---
>
> > HashCode160 * tmp = NULL;
>
> 885c885
> < IndirectionTableEntry * ite;
> ---
>
> > IndirectionTableEntry * ite = NULL;
>
> Index: src/applications/afs/tools/gnunet-check.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/tools/gnunet-check.c,v
> retrieving revision 1.42
> diff -r1.42 gnunet-check.c
> 60c60
> < void * coreAPI;
> ---
>
> > void * coreAPI = NULL;
>
> 68c68
> < static int tcp_verifies;
> ---
>
> > static int tcp_verifies = 0;
>
> 89c89
> < char * fn;
> ---
>
> > char * fn = NULL;
>
> 92,93c92,93
> < int fileHandle;
> < size_t blen;
> ---
>
> > int fileHandle = 0;
> > size_t blen = 0;
>
> 173c173
> < CollisionLevel * level;
> ---
>
> > CollisionLevel * level = NULL;
>
> 245c245
> < int count;
> ---
>
> > int count = 0;
>
> 266,267c266,267
> < CONTENT_Block * block;
> < int len;
> ---
>
> > CONTENT_Block * block = NULL;
> > int len = 0;
>
> 269,270c269,270
> < CollisionLevel * level;
> < int res;
> ---
>
> > CollisionLevel * level = NULL;
> > int res = 0;
>
> 495c495
> < HashCode160 * query;
> ---
>
> > HashCode160 * query = NULL;
>
> 497c497
> < CollisionLevel * level;
> ---
>
> > CollisionLevel * level = NULL;
>
> 597c597
> < CS_HEADER * hdr;
> ---
>
> > CS_HEADER * hdr = NULL;
>
> 599c599
> < int i;
> ---
>
> > int i = 0;
>
> 653,654c653,654
> < int result;
> < Block * top;
> ---
>
> > int result = 0;
> > Block * top = NULL;
>
> 692,693c692,693
> < GNUNET_TCP_SOCKET * sock;
> < int count;
> ---
>
> > GNUNET_TCP_SOCKET * sock = NULL;
> > int count = 0;
>
> 739c739
> < int c;
> ---
>
> > int c = 0;
>
> 858c858
> < int i;
> ---
>
> > int i = 0;
>
> 884c884
> < HashCode160 * query;
> ---
>
> > HashCode160 * query = NULL;
>
> 968c968
> < int count;
> ---
>
> > int count = 0;
>
> 983c983
> < static Semaphore * serverSignal;
> ---
>
> > static Semaphore * serverSignal = NULL;
>
> 989,992c989,992
> < int listenerFD;
> < int incomingFD;
> < int lenOfIncomingAddr;
> < int listenerPort;
> ---
>
> > int listenerFD = 0;
> > int incomingFD = 0;
> > int lenOfIncomingAddr = 0;
> > int listenerPort = 0;
>
> 1056c1056
> < char * checkString;
> ---
>
> > char * checkString = NULL;
>
> 1058,1059c1058,1059
> < char * dtype;
> < int dbuckets;
> ---
>
> > char * dtype = NULL;
> > int dbuckets = 0;
>
> Index: src/applications/afs/tools/gnunet-convert.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/tools/gnunet-convert.c,v
> retrieving revision 1.3
> diff -r1.3 gnunet-convert.c
> 56,57c56,57
> < static DatabaseHandle * srcHandle;
> < static DatabaseHandle * dstHandle;
> ---
>
> > static DatabaseHandle * srcHandle = NULL;
> > static DatabaseHandle * dstHandle = NULL;
>
> 68,69c68,69
> < void * coreAPI;
> < DatabaseHandle * dbHandle;
> ---
>
> > void * coreAPI = NULL;
> > DatabaseHandle * dbHandle = NULL;
>
> 141,142c141,142
> < int c;
> < unsigned int tmp;
> ---
>
> > int c = 0;
> > unsigned int tmp = 0;
>
> 237,241c237,241
> < char * srcDb;
> < char * dstDb;
> < int srcBuckets;
> < int dstBuckets;
> < int entries;
> ---
>
> > char * srcDb = NULL;
> > char * dstDb = NULL;
> > int srcBuckets = 0;
> > int dstBuckets = 0;
> > int entries = 0;
>
> Index: src/applications/afs/tools/gnunet-download.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/tools/gnunet-download.c,v
> retrieving revision 1.23
> diff -r1.23 gnunet-download.c
> 65,67c65,67
> < int c;
> < int crc32;
> < size_t filesize;
> ---
>
> > int c = 0;
> > int crc32 = 0;
> > size_t filesize = 0;
>
> 199,204c199,204
> < int crc32;
> < size_t filesize;
> < char * fileName;
> < HexName * hashStr;
> < Semaphore * doneSem;
> < RequestManager * rm;
> ---
>
> > int crc32 = 0;
> > size_t filesize = 0;
> > char * fileName = NULL;
> > HexName * hashStr = NULL;
> > Semaphore * doneSem = NULL;
> > RequestManager * rm = NULL;
>
> Index: src/applications/afs/tools/gnunet-insert-multi.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/tools/gnunet-insert-multi.c,v
> retrieving revision 1.21
> diff -r1.21 gnunet-insert-multi.c
> 75c75
> < int c;
> ---
>
> > int c = 0;
>
> 179c179
> < int i;
> ---
>
> > int i = 0;
>
> 181c181
> < int verbose;
> ---
>
> > int verbose = 0;
>
> 184,186c184,186
> < char * mimetype;
> < char * description;
> < Block * top;
> ---
>
> > char * mimetype = NULL;
> > char * description = NULL;
> > Block * top = NULL;
>
> 295c295
> < int i;
> ---
>
> > int i = 0;
>
> 297,300c297,300
> < char ** fileNames;
> < int fileNameCount;
> < GNUNET_TCP_SOCKET * sock;
> < EXTRACTOR_ExtractorList * extractors;
> ---
>
> > char ** fileNames = NULL;
> > int fileNameCount = 0;
> > GNUNET_TCP_SOCKET * sock = NULL;
> > EXTRACTOR_ExtractorList * extractors = NULL;
>
> Index: src/applications/afs/tools/gnunet-insert.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/tools/gnunet-insert.c,v
> retrieving revision 1.29
> diff -r1.29 gnunet-insert.c
> 84c84
> < int c;
> ---
>
> > int c = 0;
>
> 219,228c219,228
> < int res;
> < int beVerbose;
> < GNUNET_TCP_SOCKET * sock;
> < Block * top;
> < char * filename;
> < char * description;
> < char * filenameRoot; /* file name for the root-node */
> < char * mimetype;
> < char ** keywords;
> < int num_keywords;
> ---
>
> > int res = 0;
> > int beVerbose = 0;
> > GNUNET_TCP_SOCKET * sock = NULL;
> > Block * top = NULL;
> > char * filename = NULL;
> > char * description = NULL;
> > char * filenameRoot = NULL; /* file name for the root-node */
> > char * mimetype = NULL;
> > char ** keywords = NULL;
> > int num_keywords = 0;
>
> 230c230
> < int i;
> ---
>
> > int i = 0;
>
> Index: src/applications/afs/tools/gnunet-search.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/afs/tools/gnunet-search.c,v
> retrieving revision 1.32
> diff -r1.32 gnunet-search.c
> 98c98
> < int c;
> ---
>
> > int c = NULL;
>
> 198c198
> < AFS_CS_QUERY ** messages;
> ---
>
> > AFS_CS_QUERY ** messages = NULL;
>
> 200,203c200,203
> < GNUNET_TCP_SOCKET * sock;
> < int keywordCount;
> < char ** keyStrings;
> < HashCode160 * keywords;
> ---
>
> > GNUNET_TCP_SOCKET * sock = NULL;
> > int keywordCount = 0;
> > char ** keyStrings = NULL;
> > HashCode160 * keywords = NULL;
>
> 205c205
> < int i;
> ---
>
> > int i = 0;
>
> Index: src/applications/afs/util/bloomfilter.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/util/bloomfilter.c,v
> retrieving revision 1.20
> diff -r1.20 bloomfilter.c
> 57,58c57,58
> < unsigned int arraySlot;
> < unsigned int targetBit;
> ---
>
> > unsigned int arraySlot = 0;
> > unsigned int targetBit = 0;
>
> 72,73c72,73
> < unsigned int slot;
> < unsigned int targetBit;
> ---
>
> > unsigned int slot = 0;
> > unsigned int targetBit = 0;
>
> 107,111c107,111
> < unsigned int fileSlot;
> < unsigned char value;
> < unsigned int high;
> < unsigned int low;
> < unsigned int targetLoc;
> ---
>
> > unsigned int fileSlot = 0;
> > unsigned char value = 0;
> > unsigned int high = 0;
> > unsigned int low = 0;
> > unsigned int targetLoc = 0;
>
> 162,166c162,166
> < unsigned int fileSlot;
> < unsigned char value;
> < unsigned int high;
> < unsigned int low;
> < unsigned int targetLoc;
> ---
>
> > unsigned int fileSlot = 0;
> > unsigned char value = 0;
> > unsigned int high = 0;
> > unsigned int low = 0;
> > unsigned int targetLoc = 0;
>
> 211c211
> < char * buffer;
> ---
>
> > char * buffer = NULL;
>
> 265,266c265,266
> < int bitCount;
> < int round;
> ---
>
> > int bitCount = 0;
> > int round = 0;
>
> 341,344c341,344
> < Bloomfilter * bf;
> < char * rbuff;
> < unsigned int pos;
> < int i;
> ---
>
> > Bloomfilter * bf = NULL;
> > char * rbuff = NULL;
> > unsigned int pos = 0;
> > int i = 0;
>
> 480c480
> < int res;
> ---
>
> > int res = 0;
>
> Index: src/applications/afs/util/policy.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/util/policy.c,v
> retrieving revision 1.4
> diff -r1.4 policy.c
> 54c54
> < static CoreAPIForApplication * coreAPI;
> ---
>
> > static CoreAPIForApplication * coreAPI = NULL;
>
> 59c59
> < static int sendPolicy;
> ---
>
> > static int sendPolicy = 0;
>
> 64c64
> < static int receivePolicy;
> ---
>
> > static int receivePolicy = 0;
>
> 102c102
> < CS_TRAFFIC_INFO * info;
> ---
>
> > CS_TRAFFIC_INFO * info = NULL;
>
> 104c104
> < int i;
> ---
>
> > int i = 0;
>
> 177,181c177,181
> < unsigned short avgMessageSize;
> < unsigned short messageCount;
> < unsigned int peerCount;
> < unsigned int timeDistribution;
> < unsigned short messageType;
> ---
>
> > unsigned short avgMessageSize = 0;
> > unsigned short messageCount = 0;
> > unsigned int peerCount = 0;
> > unsigned int timeDistribution = 0;
> > unsigned short messageType = 0;
>
> 255c255
> < unsigned int cost;
> ---
>
> > unsigned int cost = 0;
>
> 330,331c330,331
> < unsigned int peerCount;
> < unsigned int byteRatio;
> ---
>
> > unsigned int peerCount = 0;
> > unsigned int byteRatio = 0;
>
> Index: src/applications/afs/util/shutdown.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/util/shutdown.c,v
> retrieving revision 1.5
> diff -r1.5 shutdown.c
> 39c39
> < static int shutdown_active;
> ---
>
> > static int shutdown_active = 0;
>
> Index: src/applications/chat/chat.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/chat/chat.c,v
> retrieving revision 1.9
> diff -r1.9 chat.c
> 40c40
> < static int clientCount;
> ---
>
> > static int clientCount = 0;
>
> 42c42
> < static int ringIndex;
> ---
>
> > static int ringIndex = 0;
>
> 55,58c55,58
> < int i;
> < int j;
> < CHAT_CS_MESSAGE * cmsg;
> < CHAT_p2p_MESSAGE * pmsg;
> ---
>
> > int i = 0;
> > int j = 0;
> > CHAT_CS_MESSAGE * cmsg = NULL;
> > CHAT_p2p_MESSAGE * pmsg = NULL;
>
> 101,104c101,104
> < int i;
> < int j;
> < CHAT_CS_MESSAGE * cmsg;
> < CHAT_p2p_MESSAGE * pmsg;
> ---
>
> > int i = 0;
> > int j = 0;
> > CHAT_CS_MESSAGE * cmsg = NULL;
> > CHAT_p2p_MESSAGE * pmsg = NULL;
>
> 145c145
> < int i;
> ---
>
> > int i = 0;
>
> Index: src/applications/chat/gnunet-chat.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/chat/gnunet-chat.c,v
> retrieving revision 1.5
> diff -r1.5 gnunet-chat.c
> 50,51c50,51
> < int option_index;
> < int c;
> ---
>
> > int option_index = 0;
> > int c = 0;
>
> 126c126
> < GNUNET_TCP_SOCKET * sock;
> ---
>
> > GNUNET_TCP_SOCKET * sock = NULL;
>
> 129c129
> < char * nick;
> ---
>
> > char * nick = NULL;
>
> Index: src/applications/common/port.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/common/port.c,v
> retrieving revision 1.13
> diff -r1.13 port.c
> 40c40
> < unsigned short port;
> ---
>
> > unsigned short port = 0;
>
> 58c58
> < char * res;
> ---
>
> > char * res = NULL;
>
> 71,72c71,72
> < GNUNET_TCP_SOCKET * sock;
> < char * host;
> ---
>
> > GNUNET_TCP_SOCKET * sock = NULL;
> > char * host = NULL;
>
> Index: src/applications/common/printhelp.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/common/printhelp.c,v
> retrieving revision 1.3
> diff -r1.3 printhelp.c
> 35c35
> < char * c;
> ---
>
> > char * c = NULL;
>
> Index: src/applications/stats/gnunet-stats.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/stats/gnunet-stats.c,v
> retrieving revision 1.11
> diff -r1.11 gnunet-stats.c
> 50c50
> < STATS_CS_MESSAGE * statMsg;
> ---
>
> > STATS_CS_MESSAGE * statMsg = NULL;
>
> 52,54c52,54
> < int count;
> < int i;
> < int mpos;
> ---
>
> > int count = 0;
> > int i = 0;
> > int mpos = 0;
>
> 138,139c138,139
> < int option_index;
> < int c;
> ---
>
> > int option_index = 0;
> > int c = 0;
>
> 183c183
> < int res;
> ---
>
> > int res = 0;
>
> Index: src/applications/tbench/gnunet-tbench.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/tbench/gnunet-tbench.c,v
> retrieving revision 1.15
> diff -r1.15 gnunet-tbench.c
> 83,84c83,84
> < int option_index;
> < int c;
> ---
>
> > int option_index = 0;
> > int c = 0;
>
> 182c182
> < GNUNET_TCP_SOCKET * sock;
> ---
>
> > GNUNET_TCP_SOCKET * sock = NULL;
>
> 184,185c184,185
> < TBENCH_CS_REPLY * buffer;
> < float messagesPercentLoss;
> ---
>
> > TBENCH_CS_REPLY * buffer = NULL;
> > float messagesPercentLoss = 0;
>
> Index: src/applications/tbench/tbench.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/tbench/tbench.c,v
> retrieving revision 1.17
> diff -r1.17 tbench.c
> 47c47
> < static Semaphore * sem;
> ---
>
> > static Semaphore * sem = NULL;
>
> 53,54c53,54
> < static int receiveCnt;
> < static int currIteration;
> ---
>
> > static int receiveCnt = 0;
> > static int currIteration = 0;
>
> 90,96c90,96
> < int i,j;
> < int sum_loss,sum_time;
> < double sum_variance_time, sum_variance_loss;
> < TBENCH_p2p_MESSAGE *opmsg;
> < TBENCH_CS_MESSAGE *icmsg;
> < TBENCH_CS_REPLY *ocmsg;
> < struct Result *results;
> ---
>
> > int i = 0,j = 0;
> > int sum_loss = 0,sum_time = 0;
> > double sum_variance_time = 0, sum_variance_loss = 0;
> > TBENCH_p2p_MESSAGE *opmsg = NULL;
> > TBENCH_CS_MESSAGE *icmsg = NULL;
> > TBENCH_CS_REPLY *ocmsg = NULL;
> > struct Result *results = NULL;
>
> Index: src/applications/template/gnunet-template.c
> ===================================================================
> RCS file:
> /var/cvs/GNUnet/GNUnet/src/applications/template/gnunet-template.c,v
> retrieving revision 1.1
> diff -r1.1 gnunet-template.c
> 47,48c47,48
> < int option_index;
> < int c;
> ---
>
> > int option_index = 0;
> > int c = 0;
>
> 91c91
> < void * buffer;
> ---
>
> > void * buffer = NULL;
>
> 109c109
> < GNUNET_TCP_SOCKET * sock;
> ---
>
> > GNUNET_TCP_SOCKET * sock = NULL;
>
> Index: src/applications/template/template.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/applications/template/template.c,v
> retrieving revision 1.2
> diff -r1.2 template.c
> 30c30
> < static GNUNET_TCP_SOCKET * client;
> ---
>
> > static GNUNET_TCP_SOCKET * client = NULL;
>
> Index: src/historical/getIpForEth.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/historical/getIpForEth.c,v
> retrieving revision 1.1
> diff -r1.1 getIpForEth.c
> 19,20c19,20
> < int sockfd,ifCount;
> < unsigned long ipAddr;
> ---
>
> > int sockfd = 0,ifCount = 0;
> > unsigned long ipAddr = 0;
>
> 22c22
> < int i;
> ---
>
> > int i = 0;
>
> Index: src/historical/simula.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/historical/simula.c,v
> retrieving revision 1.1
> diff -r1.1 simula.c
> 60,64c60,64
> < int i;
> < int j;
> < int k;
> < int count;
> < int collision;
> ---
>
> > int i = 0;
> > int j = 0;
> > int k = 0;
> > int count = 0;
> > int collision = 0;
>
> 71c71
> < float percent;
> ---
>
> > float percent = 0.0f;
>
> Index: src/historical/gproxy/CFuncts.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/historical/gproxy/CFuncts.c,v
> retrieving revision 1.18
> diff -r1.18 CFuncts.c
> 23,25c23,25
> < uLong crc;
> < jint result;
> < char * buf;
> ---
>
> > uLong crc = 0;
> > jint result = 0;
> > char * buf = NULL;
>
> 27c27
> < jsize len;
> ---
>
> > jsize len = 0;
>
> 49,50c49,50
> < char * utf_string;
> < char * hash_string;
> ---
>
> > char * utf_string = NULL;
> > char * hash_string = NULL;
>
> 53c53
> < jsize old_strlen;
> ---
>
> > jsize old_strlen = 0;
>
> 77,79c77,79
> < unsigned char * utf_string_key;
> < unsigned char * utf_string_data;
> < unsigned char * decr_string;
> ---
>
> > unsigned char * utf_string_key = NULL;
> > unsigned char * utf_string_data = NULL;
> > unsigned char * decr_string = NULL;
>
> 85c85
> < int tmplen;
> ---
>
> > int tmplen = 0;
>
> Index: src/server/connection.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/connection.c,v
> retrieving revision 1.252
> diff -r1.252 connection.c
> 204,205c204,205
> < static SendCallbackList * scl_nextHead;
> < static SendCallbackList * scl_nextTail;
> ---
>
> > static SendCallbackList * scl_nextHead = NULL;
> > static SendCallbackList * scl_nextTail = NULL;
>
> 210,217c210,217
> < static int stat_number_of_connections;
> < static int stat_number_of_bytes_noise_send;
> < static int stat_number_of_bytes_send;
> < static int stat_number_of_bytes_received;
> < static int stat_sessionkeys_received;
> < static int stat_sessionkeys_verified;
> < static int stat_sessionkeys_transmitted;
> < static int stat_connections_shutdown;
> ---
>
> > static int stat_number_of_connections = 0;
> > static int stat_number_of_bytes_noise_send = 0;
> > static int stat_number_of_bytes_send = 0;
> > static int stat_number_of_bytes_received = 0;
> > static int stat_sessionkeys_received = 0;
> > static int stat_sessionkeys_verified = 0;
> > static int stat_sessionkeys_transmitted = 0;
> > static int stat_connections_shutdown = 0;
>
> 227c227
> < static char * trustDirectory;
> ---
>
> > static char * trustDirectory = NULL;
>
> 235c235
> < BufferEntry * be;
> ---
>
> > BufferEntry * be = NULL;
>
> 262,265c262,265
> < int act;
> < int i;
> < BufferEntry * root;
> < BufferEntry * tmp;
> ---
>
> > int act = 0;
> > int i = 0;
> > BufferEntry * root = NULL;
> > BufferEntry * tmp = NULL;
>
> 294c294
> < char * fn;
> ---
>
> > char * fn = NULL;
>
> 318,322c318,322
> < int crc;
> < char * content;
> < p2p_HEADER * part;
> < int i;
> < SendCallbackList * pos;
> ---
>
> > int crc = 0;
> > char * content = NULL;
> > p2p_HEADER * part = NULL;
> > int i = 0;
> > SendCallbackList * pos = NULL;
>
> 429,430c429,430
> < unsigned short exSize;
> < unsigned short newSize;
> ---
>
> > unsigned short exSize = 0;
> > unsigned short newSize = 0;
>
> 533c533
> < BufferEntry * root;
> ---
>
> > BufferEntry * root = NULL;
>
> 552c552
> < char * fn;
> ---
>
> > char * fn = NULL;
>
> 577,578c577,578
> < BufferEntry * root;
> < BufferEntry * prev;
> ---
>
> > BufferEntry * root = NULL;
> > BufferEntry * prev = NULL;
>
> 628c628
> < unsigned int i;
> ---
>
> > unsigned int i = 0;
>
> 630c630
> < BufferEntry * be;
> ---
>
> > BufferEntry * be = NULL;
>
> 649c649
> < fENHWrap * wrap;
> ---
>
> > fENHWrap * wrap = NULL;
>
> 716c716
> < HELO_Message * foreignHelo;
> ---
>
> > HELO_Message * foreignHelo = NULL;
>
> 778,779c778,779
> < HELO_Message * helo;
> < HELO_Message * targetHelo;
> ---
>
> > HELO_Message * helo = NULL;
> > HELO_Message * targetHelo = NULL;
>
> 781,782c781,782
> < unsigned short targetTransport;
> < char * sendBuffer;
> ---
>
> > unsigned short targetTransport = 0;
> > char * sendBuffer = NULL;
>
> 880c880
> < BufferEntry * be;
> ---
>
> > BufferEntry * be = NULL;
>
> 946c946
> < HostIdentity * data;
> ---
>
> > HostIdentity * data = NULL;
>
> 1048,1050c1048,1050
> < BufferEntry * root;
> < BufferEntry * prev;
> < BufferEntry * tmp;
> ---
>
> > BufferEntry * root = NULL;
> > BufferEntry * prev = NULL;
> > BufferEntry * tmp = NULL;
>
> 1131,1134c1131,1134
> < SEQUENCE_Message * smsg;
> < BufferEntry * be;
> < int res;
> < unsigned int sequenceNumber;
> ---
>
> > SEQUENCE_Message * smsg = NULL;
> > BufferEntry * be = NULL;
> > int res = 0;
> > unsigned int sequenceNumber = 0;
>
> 1203c1203
> < BufferEntry * be;
> ---
>
> > BufferEntry * be = NULL;
>
> 1233c1233
> < HELO_Message * helo;
> ---
>
> > HELO_Message * helo = NULL;
>
> 1318c1318
> < BufferEntry * be;
> ---
>
> > BufferEntry * be = NULL;
>
> 1361c1361
> < BufferEntry * be;
> ---
>
> > BufferEntry * be = NULL;
>
> 1364c1364
> < SKEY_Message * sessionkeySigned;
> ---
>
> > SKEY_Message * sessionkeySigned = NULL;
>
> 1514c1514
> < unsigned int i;
> ---
>
> > unsigned int i = 0;
>
> 1587,1589c1587,1589
> < int i;
> < BufferEntry * be;
> < SendCallbackList * scl;
> ---
>
> > int i = 0;
> > BufferEntry * be = NULL;
> > SendCallbackList * scl = NULL;
>
> 1654c1654
> < BufferEntry * be;
> ---
>
> > BufferEntry * be = NULL;
>
> 1675,1676c1675,1676
> < BufferEntry * be;
> < unsigned int trust;
> ---
>
> > BufferEntry * be = NULL;
> > unsigned int trust = 0;
>
> 1708,1709c1708,1709
> < int i;
> < BufferEntry * tmp;
> ---
>
> > int i = 0;
> > BufferEntry * tmp = NULL;
>
> 1712c1712
> < unsigned short ttype;
> ---
>
> > unsigned short ttype = 0;
>
> 1768c1768
> < SendCallbackList * scl;
> ---
>
> > SendCallbackList * scl = NULL;
>
> 1793,1794c1793,1794
> < SendCallbackList * pos;
> < SendCallbackList * prev;
> ---
>
> > SendCallbackList * pos = NULL;
> > SendCallbackList * prev = NULL;
>
> 1824c1824
> < BufferEntry * be;
> ---
>
> > BufferEntry * be = NULL;
>
> 1866c1866
> < BufferEntry * be;
> ---
>
> > BufferEntry * be = NULL;
>
> 1913,1914c1913,1914
> < unsigned int i;
> < BufferEntry * tmp;
> ---
>
> > unsigned int i = 0;
> > BufferEntry * tmp = NULL;
>
> 1945c1945
> < BufferEntry * be;
> ---
>
> > BufferEntry * be = NULL;
>
> 1990c1990
> < BufferEntry * be;
> ---
>
> > BufferEntry * be = NULL;
>
> 2016,2017c2016,2017
> < BufferEntry * be;
> < int res;
> ---
>
> > BufferEntry * be = NULL;
> > int res = 0;
>
> Index: src/server/core.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/core.c,v
> retrieving revision 1.29
> diff -r1.29 core.c
> 64,65c64,65
> < HELO_Message * helo;
> < int res;
> ---
>
> > HELO_Message * helo = NULL;
> > int res = 0;
>
> 95,97c95,97
> < static int bq_firstFree_;
> < static int bq_lastFree_;
> < static int bq_firstFull_;
> ---
>
> > static int bq_firstFree_ = 0;
> > static int bq_lastFree_ = 0;
> > static int bq_firstFull_ = 0;
>
> 99,100c99,100
> < static Semaphore * bufferQueueRead_;
> < static Semaphore * bufferQueueWrite_;
> ---
>
> > static Semaphore * bufferQueueRead_ = NULL;
> > static Semaphore * bufferQueueWrite_ = NULL;
>
> 111c111
> < MessagePack * mp;
> ---
>
> > MessagePack * mp = NULL;
>
> 169c169
> < int i;
> ---
>
> > int i = 0;
>
> 227c227
> < CoreAPIForApplication * capi;
> ---
>
> > CoreAPIForApplication * capi = NULL;
>
> 229,232c229,232
> < char * dso;
> < char * next;
> < char * pos;
> < ShutdownList * nxt;
> ---
>
> > char * dso = NULL;
> > char * next = NULL;
> > char * pos = NULL;
> > ShutdownList * nxt = NULL;
>
> 277c277
> < ShutdownList * nxt;
> ---
>
> > ShutdownList * nxt = NULL;
>
> 279c279
> < int i;
> ---
>
> > int i = 0;
>
> Index: src/server/gnunet-peer-info.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/gnunet-peer-info.c,v
> retrieving revision 1.2
> diff -r1.2 gnunet-peer-info.c
> 45c45
> < int c;
> ---
>
> > int c = 0;
>
> 138,139c138,139
> < HELO_Message * helo;
> < char * info;
> ---
>
> > HELO_Message * helo = NULL;
> > char * info = NULL;
>
> Index: src/server/gnunet-transport-check.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/gnunet-transport-check.c,v
> retrieving revision 1.6
> diff -r1.6 gnunet-transport-check.c
> 46c46
> < static char * testmsg;
> ---
>
> > static char * testmsg = NULL;
>
> 48c48
> < static MessagePack * receit;
> ---
>
> > static MessagePack * receit = NULL;
>
> 50c50
> < static Semaphore * sem;
> ---
>
> > static Semaphore * sem = NULL;
>
> 62,64c62,64
> < HELO_Message * helo;
> < TSession * tsession;
> < unsigned int repeat;
> ---
>
> > HELO_Message * helo = NULL;
> > TSession * tsession = NULL;
> > unsigned int repeat = 0;
>
> 184c184
> < int c;
> ---
>
> > int c = 0;
>
> Index: src/server/handler.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/handler.c,v
> retrieving revision 1.206
> diff -r1.206 handler.c
> 55c55
> < static int stat_bytes_noise_received;
> ---
>
> > static int stat_bytes_noise_received = 0;
>
> 71c71
> < int i;
> ---
>
> > int i = 0;
>
> 108,109c108,109
> < unsigned int pos;
> < p2p_HEADER * part;
> ---
>
> > unsigned int pos = 0;
> > p2p_HEADER * part = NULL;
>
> 171,172c171,172
> < unsigned int pos;
> < p2p_HEADER * part;
> ---
>
> > unsigned int pos = 0;
> > p2p_HEADER * part = NULL;
>
> 240c240
> < char * plaintext;
> ---
>
> > char * plaintext = NULL;
>
> 293,294c293,294
> < int nSize;
> < int i;
> ---
>
> > int nSize = 0;
> > int i = 0;
>
> Index: src/server/heloexchange.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/heloexchange.c,v
> retrieving revision 1.119
> diff -r1.119 heloexchange.c
> 66,70c66,70
> < static int stat_helo_received_via_http;
> < static int stat_helo_received;
> < static int stat_helo_valid_received;
> < static int stat_helo_forwarded;
> < static int stat_helo_initiated;
> ---
>
> > static int stat_helo_received_via_http = 0;
> > static int stat_helo_received = 0;
> > static int stat_helo_valid_received = 0;
> > static int stat_helo_forwarded = 0;
> > static int stat_helo_initiated = 0;
>
> 164,165c164,165
> < TSession * tsession;
> < HELO_Message * copy;
> ---
>
> > TSession * tsession = NULL;
> > HELO_Message * copy = NULL;
>
> 167,171c167,171
> < HELO_Message * msg;
> < char * buffer;
> < int heloEnd;
> < int mtu;
> < int res;
> ---
>
> > HELO_Message * msg = NULL;
> > char * buffer = NULL;
> > int heloEnd = 0;
> > int mtu = 0;
> > int res = 0;
>
> 322,325c322,325
> < char * hostname;
> < char * filename;
> < int curpos;
> < struct hostent *ip_info;
> ---
>
> > char * hostname = NULL;
> > char * filename = NULL;
> > int curpos = 0;
> > struct hostent *ip_info = NULL;
>
> 327,329c327,329
> < int sock;
> < int ret;
> < char * command;
> ---
>
> > int sock = 0;
> > int ret = 0;
> > char * command = NULL;
>
> 331,337c331,337
> < char c;
> < char * buffer;
> < p2p_HEADER ** helos;
> < int helosCount;
> < int helosLen;
> < int * perm;
> < int i;
> ---
>
> > char c = 0;
> > char * buffer = NULL;
> > p2p_HEADER ** helos = NULL;
> > int helosCount = 0;
> > int helosLen = 0;
> > int * perm = NULL;
> > int i = 0;
>
> 560,561c560,561
> < char * url;
> < int i;
> ---
>
> > char * url = NULL;
> > int i = 0;
>
> 595,596c595,596
> < HELO_Message * helo;
> < TSession * tsession;
> ---
>
> > HELO_Message * helo = NULL;
> > TSession * tsession = NULL;
>
> 647c647
> < int j;
> ---
>
> > int j = 0;
>
> 695c695
> < HELO_Message * helo;
> ---
>
> > HELO_Message * helo = NULL;
>
> 697c697
> < int ran;
> ---
>
> > int ran = 0;
>
> 740c740
> < int count;
> ---
>
> > int count = 0;
>
> Index: src/server/keyservice.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/keyservice.c,v
> retrieving revision 1.114
> diff -r1.114 keyservice.c
> 49c49
> < static PublicKey * publicKey;
> ---
>
> > static PublicKey * publicKey = NULL;
>
> 53c53
> < HELO_Message * helo;
> ---
>
> > HELO_Message * helo = NULL;
>
> 68,71c68,71
> < char * hostkeyfile;
> < HostKeyEncoded * encHostkey;
> < unsigned short len;
> < int res;
> ---
>
> > char * hostkeyfile = NULL;
> > HostKeyEncoded * encHostkey = NULL;
> > unsigned short len = 0;
> > int res = 0;
>
> Index: src/server/knownhosts.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/knownhosts.c,v
> retrieving revision 1.57
> diff -r1.57 knownhosts.c
> 55c55
> < static int max_;
> ---
>
> > static int max_ = 0;
>
> 60c60
> < static int count_;
> ---
>
> > static int count_ = 0;
>
> 70c70
> < static HostEntry * hosts_;
> ---
>
> > static HostEntry * hosts_ = NULL;
>
> 75c75
> < static char * networkIdDirectory;
> ---
>
> > static char * networkIdDirectory = NULL;
>
> 88c88
> < static int tempHostsNextSlot;
> ---
>
> > static int tempHostsNextSlot = 0;
>
> 108c108
> < char * fn;
> ---
>
> > char * fn = NULL;
>
> 127c127
> < int i;
> ---
>
> > int i = 0;
>
> 150c150
> < int i;
> ---
>
> > int i = 0;
>
> 206c206
> < int i;
> ---
>
> > int i = 0;
>
> 242,243c242,243
> < char * fn;
> < int i;
> ---
>
> > char * fn = NULL;
> > int i = 0;
>
> 270,273c270,273
> < char * fn;
> < char * buffer;
> < HELO_Message * oldMsg;
> < int size;
> ---
>
> > char * fn = NULL;
> > char * buffer = NULL;
> > HELO_Message * oldMsg = NULL;
> > int size = 0;
>
> 327c327
> < char * fileName;
> ---
>
> > char * fileName = NULL;
>
> 329c329
> < int size;
> ---
>
> > int size = 0;
>
> 398c398
> < char * fn;
> ---
>
> > char * fn = NULL;
>
> 400,401c400,401
> < int size;
> < int i;
> ---
>
> > int size = 0;
> > int i = 0;
>
> 492c492
> < int i;
> ---
>
> > int i = 0;
>
> 525c525
> < int i;
> ---
>
> > int i = 0;
>
> 553c553
> < int i;
> ---
>
> > int i = 0;
>
> 589c589
> < unsigned int protoNumber;
> ---
>
> > unsigned int protoNumber = 0;
>
> 631c631
> < int count;
> ---
>
> > int count = 0;
>
> Index: src/server/pingpong.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/pingpong.c,v
> retrieving revision 1.41
> diff -r1.41 pingpong.c
> 42,45c42,45
> < static int stat_ping_sent;
> < static int stat_pong_sent;
> < static int stat_ping_received;
> < static int stat_pong_received;
> ---
>
> > static int stat_ping_sent = 0;
> > static int stat_pong_sent = 0;
> > static int stat_ping_received = 0;
> > static int stat_pong_received = 0;
>
> 55c55
> < static PingPongEntry * pingPongs;
> ---
>
> > static PingPongEntry * pingPongs = NULL;
>
> 65c65
> < PINGPONG_Message * pmsg;
> ---
>
> > PINGPONG_Message * pmsg = NULL;
>
> 93c93
> < PINGPONG_Message * pmsg;
> ---
>
> > PINGPONG_Message * pmsg = NULL;
>
> 150,152c150,152
> < int i;
> < PINGPONG_Message * pmsg;
> < PingPongEntry * entry;
> ---
>
> > int i = 0;
> > PINGPONG_Message * pmsg = NULL;
> > PingPongEntry * entry = NULL;
>
> 223c223
> < int i;
> ---
>
> > int i = 0;
>
> 246,247c246,247
> < int i;
> < int j;
> ---
>
> > int i = 0;
> > int j = 0;
>
> 249c249
> < PingPongEntry * entry;
> ---
>
> > PingPongEntry * entry = NULL;
>
> Index: src/server/policy.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/policy.c,v
> retrieving revision 1.42
> diff -r1.42 policy.c
> 36,39c36,39
> < static int stat_outgoing_ok;
> < static int stat_outgoing_drop;
> < static int stat_cpu_ok;
> < static int stat_cpu_loaded;
> ---
>
> > static int stat_outgoing_ok = 0;
> > static int stat_outgoing_drop = 0;
> > static int stat_cpu_ok = 0;
> > static int stat_cpu_loaded = 0;
>
> 50c50
> < char * ch;
> ---
>
> > char * ch = NULL;
>
> 92c92
> < int delta;
> ---
>
> > int delta = 0;
>
> Index: src/server/startup.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/startup.c,v
> retrieving revision 1.44
> diff -r1.44 startup.c
> 49c49
> < static Semaphore * doShutdown;
> ---
>
> > static Semaphore * doShutdown = NULL;
>
> 160,161c160,161
> < FILE * pidfd;
> < char * pif;
> ---
>
> > FILE * pidfd = NULL;
> > char * pif = NULL;
>
> 194c194
> < int nullfd;
> ---
>
> > int nullfd = 0;
>
> 284,285c284,285
> < int c;
> < struct passwd * pws;
> ---
>
> > int c = 0;
> > struct passwd * pws = NULL;
>
> Index: src/server/tcpserver.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/tcpserver.c,v
> retrieving revision 1.134
> diff -r1.134 tcpserver.c
> 55c55
> < static int octets_total_tcp_in;
> ---
>
> > static int octets_total_tcp_in = 0;
>
> 84,85c84,85
> < struct servent * pse; /* pointer to service information entry */
> < unsigned short port;
> ---
>
> > struct servent * pse = NULL; /* pointer to service information entry
> > */
> > unsigned short port = 0;
>
> 107c107
> < int i;
> ---
>
> > int i = 0;
>
> 139c139
> < int i;
> ---
>
> > int i = 0;
>
> 162c162
> < unsigned short ptyp;
> ---
>
> > unsigned short ptyp = 0;
>
> 191c191
> < CS_HEADER * hdr;
> ---
>
> > CS_HEADER * hdr = NULL;
>
> 193c193
> < int * tmp;
> ---
>
> > int * tmp = NULL;
>
> 228c228
> < int i;
> ---
>
> > int i = 0;
>
> 252,255c252,255
> < int listenerFD;
> < int incomingFD;
> < int lenOfIncomingAddr;
> < int listenerPort;
> ---
>
> > int listenerFD = 0;
> > int incomingFD = 0;
> > int lenOfIncomingAddr = 0;
> > int listenerPort = 0;
>
> 357c357
> < int i;
> ---
>
> > int i = 0;
>
> 415c415
> < int i;
> ---
>
> > int i = 0;
>
> 488,490c488,490
> < int nSize;
> < int i;
> < CSHandler * tmp;
> ---
>
> > int nSize = 0;
> > int i = 0;
> > CSHandler * tmp = NULL;
>
> Index: src/server/traffic.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/traffic.c,v
> retrieving revision 1.5
> diff -r1.5 traffic.c
> 54c54
> < static unsigned short max_message_type;
> ---
>
> > static unsigned short max_message_type = 0;
>
> 155,160c155,160
> < unsigned int unitNow;
> < unsigned int deltaUnits;
> < unsigned int minPeerId;
> < unsigned int minPeerTime;
> < unsigned int i;
> < unsigned int slot;
> ---
>
> > unsigned int unitNow = 0;
> > unsigned int deltaUnits = 0;
> > unsigned int minPeerId = 0;
> > unsigned int minPeerTime = 0;
> > unsigned int i = 0;
> > unsigned int slot = 0;
>
> 220,221c220,221
> < unsigned int i;
> < unsigned short peerCount;
> ---
>
> > unsigned int i = 0;
> > unsigned short peerCount = 0;
>
> 223,225c223,225
> < unsigned int unitNow;
> < unsigned short msgCount;
> < unsigned int totalMsgSize;
> ---
>
> > unsigned int unitNow = 0;
> > unsigned short msgCount = 0;
> > unsigned int totalMsgSize = 0;
>
> 261,263c261,263
> < CS_TRAFFIC_INFO * reply;
> < unsigned int count;
> < unsigned int i;
> ---
>
> > CS_TRAFFIC_INFO * reply = NULL;
> > unsigned int count = 0;
> > unsigned int i = 0;
>
> 304,306c304,306
> < CS_TRAFFIC_REQUEST * msg;
> < CS_TRAFFIC_INFO * reply;
> < int ret;
> ---
>
> > CS_TRAFFIC_REQUEST * msg = NULL;
> > CS_TRAFFIC_INFO * reply = NULL;
> > int ret = 0;
>
> 340c340
> < int i;
> ---
>
> > int i = 0;
>
> 361c361
> < TrafficCounter ** tmp;
> ---
>
> > TrafficCounter ** tmp = NULL;
>
> 391c391
> < unsigned short port;
> ---
>
> > unsigned short port = 0;
>
> 411c411
> < unsigned short port;
> ---
>
> > unsigned short port = 0;
>
> 446,449c446,449
> < DirectedTrafficCounter * dtc;
> < unsigned int i;
> < unsigned int nowUnit;
> < unsigned int totSize;
> ---
>
> > DirectedTrafficCounter * dtc = NULL;
> > unsigned int i = 0;
> > unsigned int nowUnit = 0;
> > unsigned int totSize = 0;
>
> Index: src/server/transport.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/server/transport.c,v
> retrieving revision 1.48
> diff -r1.48 transport.c
> 36,37c36,37
> < static TransportAPI ** tapis;
> < static int tapis_count;
> ---
>
> > static TransportAPI ** tapis = NULL;
> > static int tapis_count = 0;
>
> 45,47c45,47
> < CoreAPIForTransport * ctapi;
> < TransportAPI * tapi;
> < int i;
> ---
>
> > CoreAPIForTransport * ctapi = NULL;
> > TransportAPI * tapi = NULL;
> > int i = 0;
>
> 49,52c49,52
> < char * dso;
> < char * next;
> < char * pos;
> < void * lib;
> ---
>
> > char * dso = NULL;
> > char * next = NULL;
> > char * pos = NULL;
> > void * lib = NULL;
>
> 106c106
> < int i;
> ---
>
> > int i = 0;
>
> 116c116
> < int i;
> ---
>
> > int i = 0;
>
> 126c126
> < int i;
> ---
>
> > int i = 0;
>
> 164c164
> < TransportAPI ** tmp;
> ---
>
> > TransportAPI ** tmp = NULL;
>
> 187,188c187,188
> < TransportAPI * tapi;
> < unsigned short prot;
> ---
>
> > TransportAPI * tapi = NULL;
> > unsigned short prot = 0;
>
> 215c215
> < int i;
> ---
>
> > int i = 0;
>
> 235,236c235,236
> < TransportAPI * tapi;
> < unsigned short prot;
> ---
>
> > TransportAPI * tapi = NULL;
> > unsigned short prot = 0;
>
> 277c277
> < TransportAPI * tapi;
> ---
>
> > TransportAPI * tapi = NULL;
>
> 299c299
> < TransportAPI * tapi;
> ---
>
> > TransportAPI * tapi = NULL;
>
> 323c323
> < TransportAPI * tapi;
> ---
>
> > TransportAPI * tapi = NULL;
>
> 354c354
> < TransportAPI * tapi;
> ---
>
> > TransportAPI * tapi = NULL;
>
> 388c388
> < TransportAPI * tapi;
> ---
>
> > TransportAPI * tapi = NULL;
>
> 411c411
> < TransportAPI * tapi;
> ---
>
> > TransportAPI * tapi = NULL;
>
> 428c428
> < TransportAPI * tapi;
> ---
>
> > TransportAPI * tapi = NULL;
>
> 497,501c497,501
> < int i;
> < int j;
> < int tcount;
> < HELO_Message ** helos;
> < int used;
> ---
>
> > int i = 0;
> > int j = 0;
> > int tcount = 0;
> > HELO_Message ** helos = NULL;
> > int used = 0;
>
> Index: src/test/bloomtest.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/test/bloomtest.c,v
> retrieving revision 1.4
> diff -r1.4 bloomtest.c
> 29c29
> < Bloomfilter *bf;
> ---
>
> > Bloomfilter *bf = NULL;
>
> 31,33c31,33
> < int i;
> < int ok;
> < int falseok;
> ---
>
> > int i = 0;
> > int ok = 0;
> > int falseok = 0;
>
> Index: src/test/crontest.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/test/crontest.c,v
> retrieving revision 1.7
> diff -r1.7 crontest.c
> 14,16c14,16
> < int global;
> < int global2;
> < int global3;
> ---
>
> > int global = -1;
> > int global2 = -1;
> > int global3 = -1;
>
> 38c38
> < int i;
> ---
>
> > int i = 0;
>
> Index: src/test/cry_comp.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/test/cry_comp.c,v
> retrieving revision 1.1
> diff -r1.1 cry_comp.c
> 24c24
> < RSA * hostkey;
> ---
>
> > RSA * hostkey = NULL;
>
> 28c28
> < int i;
> ---
>
> > int i = 0;
>
> 67c67
> < int i;
> ---
>
> > int i = 0;
>
> 156c156
> < RSA * hostkey;
> ---
>
> > RSA * hostkey = NULL;
>
> 158c158
> < HostKeyEncoded * encoding;
> ---
>
> > HostKeyEncoded * encoding = NULL;
>
> 162c162
> < int i;
> ---
>
> > int i = 0;
>
> 205,206c205,206
> < RSA * hostkey2;
> < HostKeyEncoded * encoding;
> ---
>
> > RSA * hostkey2 = NULL;
> > HostKeyEncoded * encoding = NULL;
>
> 210c210
> < int i;
> ---
>
> > int i = 0;
>
> Index: src/test/dbspeedtest.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/test/dbspeedtest.c,v
> retrieving revision 1.2
> diff -r1.2 dbspeedtest.c
> 52,55c52,55
> < int * ret;
> < int i;
> < int tmp;
> < int x;
> ---
>
> > int * ret = NULL;
> > int i = 0;
> > int tmp = 0;
> > int x = 0;
>
> 71c71
> < int fd, i, j;
> ---
>
> > int fd = 0, i = 0, j = 0;
>
> Index: src/test/hk_crypto.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/test/hk_crypto.c,v
> retrieving revision 1.2
> diff -r1.2 hk_crypto.c
> 68,70c68,70
> < unsigned short sizen;
> < unsigned short sizee;
> < unsigned short size;
> ---
>
> > unsigned short sizen = 0;
> > unsigned short sizee = 0;
> > unsigned short size = 0;
>
> 98,100c98,100
> < RSA * result;
> < int sizen;
> < int sizee;
> ---
>
> > RSA * result = NULL;
> > int sizen = 0;
> > int sizee = 0;
>
> 135,144c135,144
> < unsigned short sizen;
> < unsigned short sizee;
> < unsigned short sized;
> < unsigned short sizep;
> < unsigned short sizeq;
> < unsigned short sizedmp1;
> < unsigned short sizedmq1;
> < unsigned short sizeiqmp;
> < unsigned short size;
> < HostKeyEncoded * retval;
> ---
>
> > unsigned short sizen = 0;
> > unsigned short sizee = 0;
> > unsigned short sized = 0;
> > unsigned short sizep = 0;
> > unsigned short sizeq = 0;
> > unsigned short sizedmp1 = 0;
> > unsigned short sizedmq1 = 0;
> > unsigned short sizeiqmp = 0;
> > unsigned short size = 0;
> > HostKeyEncoded * retval = NULL;
>
> 206,214c206,214
> < unsigned short sizen;
> < unsigned short sizee;
> < unsigned short sized;
> < unsigned short sizep;
> < unsigned short sizeq;
> < unsigned short sizedmp1;
> < unsigned short sizedmq1;
> < unsigned short size;
> < unsigned short sum;
> ---
>
> > unsigned short sizen = 0;
> > unsigned short sizee = 0;
> > unsigned short sized = 0;
> > unsigned short sizep = 0;
> > unsigned short sizeq = 0;
> > unsigned short sizedmp1 = 0;
> > unsigned short sizedmq1 = 0;
> > unsigned short size = 0;
> > unsigned short sum = 0;
>
> 266,268c266,268
> < RSA * foreignkey;
> < int rs;
> < int len;
> ---
>
> > RSA * foreignkey = NULL;
> > int rs = 0;
> > int len = 0;
>
> 315c315
> < int size;
> ---
>
> > int size = 0;
>
> 351c351
> < int sigSize;
> ---
>
> > int sigSize = 0;
>
> 404,405c404,405
> < RSA * hostkey;
> < int rs;
> ---
>
> > RSA * hostkey = NULL;
> > int rs = 0;
>
> Index: src/test/hk_gcrypt.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/test/hk_gcrypt.c,v
> retrieving revision 1.3
> diff -r1.3 hk_gcrypt.c
> 61c61
> < int rc;
> ---
>
> > int rc = 0;
>
> 105,106c105,106
> < const char *s;
> < int i, idx;
> ---
>
> > const char *s = NULL;
> > int i = 0, idx = 0;
>
> 151,152c151,152
> < int size;
> < int rc;
> ---
>
> > int size = 0;
> > int rc = 0;
>
> 209,211c209,211
> < size_t size;
> < size_t erroff;
> < int rc;
> ---
>
> > size_t size = 0;
> > size_t erroff = 0;
> > int rc = 0;
>
> 270c270
> < HostKeyEncoded * retval;
> ---
>
> > HostKeyEncoded * retval = NULL;
>
> 274,276c274,276
> < int rc;
> < int i;
> < int size;
> ---
>
> > int rc = 0;
> > int i = 0;
> > int size = 0;
>
> 400,402c400,402
> < int rc;
> < size_t size;
> < int pos;
> ---
>
> > int rc = 0;
> > size_t size = 0;
> > int pos = 0;
>
> 573,575c573,575
> < size_t isize;
> < size_t erroff;
> < int rc;
> ---
>
> > size_t isize = 0;
> > size_t erroff = 0;
> > int rc = 0;
>
> 660,661c660,661
> < size_t erroff;
> < size_t size;
> ---
>
> > size_t erroff = 0;
> > size_t size = 0;
>
> 663,665c663,665
> < int rc;
> < char * endp;
> < char * tmp;
> ---
>
> > int rc = 0;
> > char * endp = NULL;
> > char * tmp = NULL;
>
> 791c791
> < size_t ssize;
> ---
>
> > size_t ssize = 0;
>
> 794,796c794,796
> < char * buff;
> < int bufSize;
> < int rc;
> ---
>
> > char * buff = NULL;
> > int bufSize = 0;
> > int rc = 0;
>
> 871c871
> < size_t size;
> ---
>
> > size_t size = 0;
>
> 875,878c875,878
> < char * buff;
> < int bufSize;
> < size_t erroff;
> < int rc;
> ---
>
> > char * buff = NULL;
> > int bufSize = 0;
> > size_t erroff = 0;
> > int rc = 0;
>
> Index: src/test/hostkeytest.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/test/hostkeytest.c,v
> retrieving revision 1.25
> diff -r1.25 hostkeytest.c
> 27c27
> < int i;
> ---
>
> > int i = 0;
>
> 60c60
> < int i;
> ---
>
> > int i = 0;
>
> 85c85
> < HostKeyEncoded * encoding;
> ---
>
> > HostKeyEncoded * encoding = NULL;
>
> 89c89
> < int i;
> ---
>
> > int i = 0;
>
> Index: src/test/statuscallstest.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/test/statuscallstest.c,v
> retrieving revision 1.16
> diff -r1.16 statuscallstest.c
> 14c14
> < int i;
> ---
>
> > int i = 0;
>
> Index: src/test/symciphertest.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/test/symciphertest.c,v
> retrieving revision 1.7
> diff -r1.7 symciphertest.c
> 17c17
> < int size;
> ---
>
> > int size = 0;
>
> Index: src/test/transtest.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/test/transtest.c,v
> retrieving revision 1.5
> diff -r1.5 transtest.c
> 20c20
> < static MessagePack * receit;
> ---
>
> > static MessagePack * receit = NULL;
>
> 28,29c28,29
> < HELO_Message * helo;
> < TSession * tsession;
> ---
>
> > HELO_Message * helo = NULL;
> > TSession * tsession = NULL;
>
> 101c101
> < int c;
> ---
>
> > int c = 0;
>
> Index: src/transports/smtp.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/transports/smtp.c,v
> retrieving revision 1.33
> diff -r1.33 smtp.c
> 116c116
> < static CoreAPIForTransport * coreAPI;
> ---
>
> > static CoreAPIForTransport * coreAPI = NULL;
>
> 127c127
> < static int smtp_sock;
> ---
>
> > static int smtp_sock = 0;
>
> 137,138c137,138
> < static int stat_octets_total_smtp_in;
> < static int stat_octets_total_smtp_out;
> ---
>
> > static int stat_octets_total_smtp_in = 0;
> > static int stat_octets_total_smtp_out = 0;
>
> 159,161c159,161
> < unsigned int i;
> < char c;
> < unsigned int ret;
> ---
>
> > unsigned int i = 0;
> > char c = 0;
> > unsigned int ret = 0;
>
> 222,224c222,224
> < unsigned int i;
> < char c;
> < char c1;
> ---
>
> > unsigned int i = 0;
> > char c = 0;
> > char c1 = 0;
>
> 281,282c281,282
> < struct servent * pse; /* pointer to service information entry */
> < unsigned short port;
> ---
>
> > struct servent * pse = NULL; /* pointer to service information entry
> > */
> > unsigned short port = 0;
>
> 303c303
> < int res;
> ---
>
> > int res = 0;
>
> 305,306c305,306
> < char * hostname;
> < struct hostent * ip; /* for the lookup of the IP in gnunet.conf */
> ---
>
> > char * hostname = NULL;
> > struct hostent * ip = NULL; /* for the lookup of the IP in gnunet.conf
> > */
>
> 363c363
> < int pos;
> ---
>
> > int pos = 0;
>
> 365c365
> < int i;
> ---
>
> > int i = 0;
>
> 413c413
> < int ret;
> ---
>
> > int ret = 0;
>
> 452,454c452,454
> < char * target;
> < int size;
> < int ret;
> ---
>
> > char * target = NULL;
> > int size = 256;
> > int ret = -1;
>
> 456,457d455
> < size = 256;
> < ret = -1;
> 478,482c476,480
> < char * pipename;
> < int smtp_pipe;
> < char * line;
> < int LINESIZE;
> < SMTPMessage * mp;
> ---
>
> > char * pipename = NULL;
> > int smtp_pipe = 0;
> > char * line = NULL;
> > int LINESIZE = 0;
> > SMTPMessage * mp = NULL;
>
> 518,523c516,521
> < FILE * fdes;
> < char * retl;
> < char * boundary;
> < char * out;
> < unsigned int size;
> < MessagePack * coreMP;
> ---
>
> > FILE * fdes = NULL;
> > char * retl = NULL;
> > char * boundary = NULL;
> > char * out = NULL;
> > unsigned int size = 0;
> > MessagePack * coreMP = NULL;
>
> 611c609
> < EmailAddress * maddr;
> ---
>
> > EmailAddress * maddr = NULL;
>
> 644,647c642,645
> < HELO_Message * msg;
> < char * email;
> < char * filter;
> < EmailAddress * haddr;
> ---
>
> > HELO_Message * msg = NULL;
> > char * email = NULL;
> > char * filter = NULL;
> > EmailAddress * haddr = NULL;
>
> 703c701
> < TSession * tsession;
> ---
>
> > TSession * tsession = NULL;
>
> 741,747c739,745
> < char * msg;
> < SMTPMessage * mp;
> < HELO_Message * helo;
> < EmailAddress * haddr;
> < char * ebody;
> < int res;
> < int ssize, ssize2;
> ---
>
> > char * msg = NULL;
> > SMTPMessage * mp = NULL;
> > HELO_Message * helo = NULL;
> > EmailAddress * haddr = NULL;
> > char * ebody = NULL;
> > int res = 0;
> > int ssize = 0, ssize2 = 0;
>
> 867c865
> < char * email;
> ---
>
> > char * email = NULL;
>
> 938,939c936,937
> < char * ret;
> < EmailAddress * addr;
> ---
>
> > char * ret = NULL;
> > EmailAddress * addr = NULL;
>
> 964c962
> < int mtu;
> ---
>
> > int mtu = 0;
>
> Index: src/transports/tcp.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/transports/tcp.c,v
> retrieving revision 1.72
> diff -r1.72 tcp.c
> 177c177
> < static CoreAPIForTransport * coreAPI;
> ---
>
> > static CoreAPIForTransport * coreAPI = NULL;
>
> 190c190
> < static int tcp_sock;
> ---
>
> > static int tcp_sock = 0;
>
> 203,204c203,204
> < static int tsessionCount;
> < static int tsessionArrayLength;
> ---
>
> > static int tsessionCount = 0;
> > static int tsessionArrayLength = 0;
>
> 209,210c209,210
> < static int stat_octets_total_tcp_in;
> < static int stat_octets_total_tcp_out;
> ---
>
> > static int stat_octets_total_tcp_in = 0;
> > static int stat_octets_total_tcp_out = 0;
>
> 213c213
> < static CIDRNetwork * filteredNetworks_;
> ---
>
> > static CIDRNetwork * filteredNetworks_ = NULL;
>
> 254c254
> < int ret;
> ---
>
> > int ret = 0;
>
> 317c317
> < TCPSession * tcpSession;
> ---
>
> > TCPSession * tcpSession = NULL;
>
> 335,336c335,336
> < struct servent * pse; /* pointer to service information entry */
> < unsigned short port;
> ---
>
> > struct servent * pse = NULL; /* pointer to service information entry
> > */
> > unsigned short port = 0;
>
> 367c367
> < TCPSession * tcpSession;
> ---
>
> > TCPSession * tcpSession = NULL;
>
> 385,389c385,389
> < TSession * tsession;
> < TCPSession * tcpSession;
> < int len;
> < TCPMessagePack * pack;
> < MessagePack * mp;
> ---
>
> > TSession * tsession = NULL;
> > TCPSession * tcpSession = NULL;
> > int len = 0;
> > TCPMessagePack * pack = NULL;
> > MessagePack * mp = NULL;
>
> 558,559c558,559
> < TSession * tsession;
> < TCPSession * tcpSession;
> ---
>
> > TSession * tsession = NULL;
> > TCPSession * tcpSession = NULL;
>
> 595,598c595,598
> < int lenOfIncomingAddr;
> < int i;
> < int max;
> < int ret;
> ---
>
> > int lenOfIncomingAddr = 0;
> > int i = 0;
> > int max = 0;
> > int ret = 0;
>
> 745,746c745,746
> < int ok;
> < int ret;
> ---
>
> > int ok = 0;
> > int ret = 0;
>
> 855,857c855,857
> < HELO_Message * msg;
> < HostAddress * haddr;
> < unsigned short port;
> ---
>
> > HELO_Message * msg = NULL;
> > HostAddress * haddr = NULL;
> > unsigned short port = 0;
>
> 890,891c890,891
> < int i;
> < HostAddress * haddr;
> ---
>
> > int i = 0;
> > HostAddress * haddr = NULL;
>
> 893,895c893,895
> < int sock;
> < TSession * tsession;
> < TCPSession * tcpSession;
> ---
>
> > int sock = 0;
> > TSession * tsession = NULL;
> > TCPSession * tcpSession = NULL;
>
> 980,982c980,982
> < TCPMessagePack * mp;
> < int ok;
> < int ssize;
> ---
>
> > TCPMessagePack * mp = NULL;
> > int ok = 0;
> > int ssize = 0;
>
> 1018c1018
> < unsigned short port;
> ---
>
> > unsigned short port = 0;
>
> 1119c1119
> < char * ch;
> ---
>
> > char * ch = NULL;
>
> 1140,1141c1140,1141
> < char * ret;
> < HostAddress * haddr;
> ---
>
> > char * ret = NULL;
> > HostAddress * haddr = NULL;
>
> 1161c1161
> < int mtu;
> ---
>
> > int mtu = 0;
>
> Index: src/transports/udp.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/transports/udp.c,v
> retrieving revision 1.60
> diff -r1.60 udp.c
> 94c94
> < static CoreAPIForTransport * coreAPI;
> ---
>
> > static CoreAPIForTransport * coreAPI = NULL;
>
> 105c105
> < static int udp_sock;
> ---
>
> > static int udp_sock = 0;
>
> 110,111c110,111
> < static int stat_octets_total_udp_in;
> < static int stat_octets_total_udp_out;
> ---
>
> > static int stat_octets_total_udp_in = 0;
> > static int stat_octets_total_udp_out = 0;
>
> 117c117
> < static Semaphore * serverSignal;
> ---
>
> > static Semaphore * serverSignal = NULL;
>
> 133,134c133,134
> < struct servent * pse; /* pointer to service information entry */
> < unsigned short port;
> ---
>
> > struct servent * pse = NULL; /* pointer to service information entry
> > */
> > unsigned short port = 0;
>
> 156c156
> < int sock;
> ---
>
> > int sock = 0;
>
> 182c182
> < int ret;
> ---
>
> > int ret = 0;
>
> 198c198
> < int size;
> ---
>
> > int size = 0;
>
> 200,201c200,201
> < MessagePack * mp;
> < UDPMessage * udpm;
> ---
>
> > MessagePack * mp = NULL;
> > UDPMessage * udpm = NULL;
>
> 307c307
> < HostAddress * haddr;
> ---
>
> > HostAddress * haddr = NULL;
>
> 337,339c337,339
> < HELO_Message * msg;
> < HostAddress * haddr;
> < unsigned short port;
> ---
>
> > HELO_Message * msg = NULL;
> > HostAddress * haddr = NULL;
> > unsigned short port = 0;
>
> 373,374c373,374
> < TSession * tsession;
> < HostAddress * haddr;
> ---
>
> > TSession * tsession = NULL;
> > HostAddress * haddr = NULL;
>
> 415,418c415,418
> < char * msg;
> < UDPMessage * mp;
> < HELO_Message * helo;
> < HostAddress * haddr;
> ---
>
> > char * msg = NULL;
> > UDPMessage * mp = NULL;
> > HELO_Message * helo = NULL;
> > HostAddress * haddr = NULL;
>
> 420,421c420,421
> < int ok;
> < int ssize;
> ---
>
> > int ok = 0;
> > int ssize = 0;
>
> 500c500
> < unsigned short port;
> ---
>
> > unsigned short port = 0;
>
> 559c559
> < char * ch;
> ---
>
> > char * ch = NULL;
>
> 579,580c579,580
> < char * ret;
> < HostAddress * haddr;
> ---
>
> > char * ret = NULL;
> > HostAddress * haddr = NULL;
>
> 603c603
> < int mtu;
> ---
>
> > int mtu = 0;
>
> Index: src/util/checksum.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/checksum.c,v
> retrieving revision 1.11
> diff -r1.11 checksum.c
> 44c44
> < uLong crc;
> ---
>
> > uLong crc = 0;
>
> 64,67c64,67
> < int * ret;
> < int i;
> < int tmp;
> < int x;
> ---
>
> > int * ret = NULL;
> > int i = 0;
> > int tmp = 0;
> > int x = 0;
>
> Index: src/util/configuration.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/configuration.c,v
> retrieving revision 1.22
> diff -r1.22 configuration.c
> 87,88c87,88
> < static char ** values;
> < static int valuesCount;
> ---
>
> > static char ** values = NULL;
> > static int valuesCount = 0;
>
> 98,100c98,100
> < int i;
> < char * prefix;
> < char * result;
> ---
>
> > int i = 0;
> > char * prefix = NULL;
> > char * result = NULL;
>
> 147,148c147,148
> < char * fn;
> < char * fnExpand;
> ---
>
> > char * fn = NULL;
> > char * fnExpand = NULL;
>
> 278,279c278,279
> < UserConf * pos;
> < char * retval;
> ---
>
> > UserConf * pos = NULL;
> > char * retval = NULL;
>
> 336c336
> < char * c;
> ---
>
> > char * c = NULL;
>
> 366,367c366,367
> < UserConf * pos;
> < unsigned int retval;
> ---
>
> > UserConf * pos = NULL;
> > unsigned int retval = 0;
>
> 408,410c408,410
> < UserConf * pos;
> < UserConf * prev;
> < char * res;
> ---
>
> > UserConf * pos = NULL;
> > UserConf * prev = NULL;
> > char * res = NULL;
>
> 474,476c474,476
> < UserConf * pos;
> < UserConf * prev;
> < unsigned int res;
> ---
>
> > UserConf * pos = NULL;
> > UserConf * prev = NULL;
> > unsigned int res = 0;
>
> 529,530c529,530
> < char ** cpy;
> < int i;
> ---
>
> > char ** cpy = NULL;
> > int i = 0;
>
> Index: src/util/crc32.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/crc32.c,v
> retrieving revision 1.6
> diff -r1.6 crc32.c
> 15c15
> < unsigned int i, j;
> ---
>
> > unsigned int i = 0, j = 0;
>
> Index: src/util/cron.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/cron.c,v
> retrieving revision 1.54
> diff -r1.54 cron.c
> 102c102
> < static DeltaEntry * deltaList_;
> ---
>
> > static DeltaEntry * deltaList_ = NULL;
>
> 107c107
> < static unsigned int deltaListSize_;
> ---
>
> > static unsigned int deltaListSize_ = 0;
>
> 117c117
> < static int firstFree_;
> ---
>
> > static int firstFree_ = 0;
>
> 122c122
> < static int firstUsed_;
> ---
>
> > static int firstUsed_ = 0;
>
> 149c149
> < int i;
> ---
>
> > int i = 0;
>
> 256,259c256,259
> < DeltaEntry * entry;
> < DeltaEntry * pos;
> < int last;
> < int current;
> ---
>
> > DeltaEntry * entry = NULL;
> > DeltaEntry * pos = NULL;
> > int last = 0;
> > int current = 0;
>
> 349,350c349,350
> < int jobId;
> < DeltaEntry * tab;
> ---
>
> > int jobId = 0;
> > DeltaEntry * tab = NULL;
>
> 378,379c378,379
> < DeltaEntry * job;
> < int jobId;
> ---
>
> > DeltaEntry * job = NULL;
> > int jobId = 0;
>
> 381,382c381,382
> < void * data;
> < unsigned int repeat;
> ---
>
> > void * data = NULL;
> > unsigned int repeat = 0;
>
> 434c434
> < int oct;
> ---
>
> > int oct = 0;
>
> 500,502c500,502
> < DeltaEntry * job;
> < DeltaEntry * last;
> < int jobId;
> ---
>
> > DeltaEntry * job = NULL;
> > DeltaEntry * last = NULL;
> > int jobId = 0;
>
> Index: src/util/dso.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/dso.c,v
> retrieving revision 1.3
> diff -r1.3 dso.c
> 33,34c33,34
> < char * dsoext;
> < char * libname;
> ---
>
> > char * dsoext = NULL;
> > char * libname = NULL;
>
> 59,60c59,60
> < void * libhandle;
> < char * libname;
> ---
>
> > void * libhandle = NULL;
> > char * libname = NULL;
>
> 81,82c81,82
> < char * initName;
> < void * mptr;
> ---
>
> > char * initName = NULL;
> > void * mptr = NULL;
>
> Index: src/util/getopt.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/getopt.c,v
> retrieving revision 1.6
> diff -r1.6 getopt.c
> 150c150
> < static char *nextchar;
> ---
>
> > static char *nextchar = NULL;
>
> Index: src/util/hashing.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/hashing.c,v
> retrieving revision 1.8
> diff -r1.8 hashing.c
> 70,73c70,73
> < int i;
> < int j;
> < unsigned char c;
> < unsigned char clow;
> ---
>
> > int i = 0;
> > int j = 0;
> > unsigned char c = 0;
> > unsigned char clow = 0;
>
> 96,100c96,100
> < int i;
> < int j;
> < unsigned char c;
> < unsigned char clow;
> < unsigned char chigh;
> ---
>
> > int i = 0;
> > int j = 0;
> > unsigned char c = 0;
> > unsigned char clow = 0;
> > unsigned char chigh = 0;
>
> Index: src/util/hostkey.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/hostkey.c,v
> retrieving revision 1.96
> diff -r1.96 hostkey.c
> 66c66
> < int rc;
> ---
>
> > int rc = 0;
>
> 116,117c116,117
> < const char *s;
> < int i, idx;
> ---
>
> > const char *s = NULL;
> > int i = 0, idx = 0;
>
> 163,165c163,165
> < unsigned short sizen;
> < unsigned short sizee;
> < unsigned short size;
> ---
>
> > unsigned short sizen = 0;
> > unsigned short sizee = 0;
> > unsigned short size = 0;
>
> 188,189c188,189
> < int size;
> < int rc;
> ---
>
> > int size = 0;
> > int rc = 0;
>
> 246,247c246,247
> < int sizen;
> < int sizee;
> ---
>
> > int sizen = 0;
> > int sizee = 0;
>
> 277,279c277,279
> < size_t size;
> < size_t erroff;
> < int rc;
> ---
>
> > size_t size = 0;
> > size_t erroff = 0;
> > int rc = 0;
>
> 348,357c348,357
> < unsigned short sizen;
> < unsigned short sizee;
> < unsigned short sized;
> < unsigned short sizep;
> < unsigned short sizeq;
> < unsigned short sizedmp1;
> < unsigned short sizedmq1;
> < unsigned short sizeiqmp;
> < unsigned short size;
> < HostKeyEncoded * retval;
> ---
>
> > unsigned short sizen = 0;
> > unsigned short sizee = 0;
> > unsigned short sized = 0;
> > unsigned short sizep = 0;
> > unsigned short sizeq = 0;
> > unsigned short sizedmp1 = 0;
> > unsigned short sizedmq1 = 0;
> > unsigned short sizeiqmp = 0;
> > unsigned short size = 0;
> > HostKeyEncoded * retval = NULL;
>
> 419,421c419,421
> < int rc;
> < int i;
> < int size;
> ---
>
> > int rc = 0;
> > int i = 0;
> > int size = 0;
>
> 546,554c546,554
> < unsigned short sizen;
> < unsigned short sizee;
> < unsigned short sized;
> < unsigned short sizep;
> < unsigned short sizeq;
> < unsigned short sizedmp1;
> < unsigned short sizedmq1;
> < unsigned short size;
> < unsigned short sum;
> ---
>
> > unsigned short sizen = 0;
> > unsigned short sizee = 0;
> > unsigned short sized = 0;
> > unsigned short sizep = 0;
> > unsigned short sizeq = 0;
> > unsigned short sizedmp1 = 0;
> > unsigned short sizedmq1 = 0;
> > unsigned short size = 0;
> > unsigned short sum = 0;
>
> 765,766c765,766
> < int rs;
> < int len;
> ---
>
> > int rs = 0;
> > int len = 0;
>
> 803,804c803,804
> < size_t isize;
> < size_t erroff;
> ---
>
> > size_t isize = 0;
> > size_t erroff = 0;
>
> 891c891
> < int size;
> ---
>
> > int size = 0;
>
> 1051c1051
> < int sigSize;
> ---
>
> > int sigSize = 0;
>
> 1093c1093
> < size_t ssize;
> ---
>
> > size_t ssize = 0;
>
> 1096,1098c1096,1098
> < char * buff;
> < int bufSize;
> < int rc;
> ---
>
> > char * buff = NULL;
> > int bufSize = 0;
> > int rc = 0;
>
> 1173c1173
> < int rs;
> ---
>
> > int rs = 0;
>
> 1202c1202
> < size_t size;
> ---
>
> > size_t size = 0;
>
> 1206,1209c1206,1209
> < char * buff;
> < int bufSize;
> < size_t erroff;
> < int rc;
> ---
>
> > char * buff = NULL;
> > int bufSize = 0;
> > size_t erroff = 0;
> > int rc = 0;
>
> Index: src/util/identity.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/identity.c,v
> retrieving revision 1.10
> diff -r1.10 identity.c
> 69,70c69,70
> < char * hostname;
> < struct hostent * ip;
> ---
>
> > char * hostname = NULL;
> > struct hostent * ip = NULL;
>
> 105,107c105,107
> < int sockfd,ifCount;
> < int i;
> < char * interfaces;
> ---
>
> > int sockfd = 0,ifCount = 0;
> > int i = 0;
> > char * interfaces = NULL;
>
> 181,183c181,183
> < char * ipString;
> < int retval;
> < struct hostent * ip; /* for the lookup of the IP in gnunet.conf */
> ---
>
> > char * ipString = NULL;
> > int retval = 0;
> > struct hostent * ip = NULL; /* for the lookup of the IP in gnunet.conf
> > */
>
> Index: src/util/ipcheck.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/ipcheck.c,v
> retrieving revision 1.20
> diff -r1.20 ipcheck.c
> 47,52c47,52
> < int count;
> < int i;
> < int j;
> < int len;
> < int cnt;
> < int pos;
> ---
>
> > int count = 0;
> > int i = 0;
> > int j = 0;
> > int len = 0;
> > int cnt = 0;
> > int pos = 0;
>
> 54,55c54,55
> < int slash;
> < CIDRNetwork * result;
> ---
>
> > int slash = 0;
> > CIDRNetwork * result = NULL;
>
> 170c170
> < int i;
> ---
>
> > int i = 0;
>
> Index: src/util/logging.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/logging.c,v
> retrieving revision 1.28
> diff -r1.28 logging.c
> 109,110c109,110
> < char * loglevelname;
> < char * logfilename;
> ---
>
> > char * loglevelname = NULL;
> > char * logfilename = NULL;
>
> 129c129
> < char * fn;
> ---
>
> > char * fn = NULL;
>
> 150c150
> < struct tm * tmptr;
> ---
>
> > struct tm * tmptr = NULL;
>
> Index: src/util/parseconfig.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/parseconfig.c,v
> retrieving revision 1.7
> diff -r1.7 parseconfig.c
> 63c63
> < struct CFG_SECTIONS *c;
> ---
>
> > struct CFG_SECTIONS *c = NULL;
>
> 91,92c91,92
> < struct CFG_ENTRIES* e;
> < int i;
> ---
>
> > struct CFG_ENTRIES* e = NULL;
> > int i = 0;
>
> 115c115
> < int i;
> ---
>
> > int i = 0;
>
> 143c143
> < FILE *fp;
> ---
>
> > FILE *fp = NULL;
>
> 145,146c145,146
> < int i;
> < int emptyline;
> ---
>
> > int i = 0;
> > int emptyline = 0;
>
> 222c222
> < int i,j;
> ---
>
> > int i=0,j=0;
>
> 247c247
> < int i;
> ---
>
> > int i=0;
>
> 262c262
> < int i;
> ---
>
> > int i=0;
>
> 280c280
> < char *val;
> ---
>
> > char *val = NULL;
>
> 291c291
> < char *val;
> ---
>
> > char *val = NULL;
>
> 302c302
> < char *val;
> ---
>
> > char *val = NULL;
>
> Index: src/util/semaphore.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/semaphore.c,v
> retrieving revision 1.46
> diff -r1.46 semaphore.c
> 52c52
> < int return_value;
> ---
>
> > int return_value = 0;
>
> 61c61
> < int return_value;
> ---
>
> > int return_value = 0;
>
> 154c154
> < int value_after_op;
> ---
>
> > int value_after_op = 0;
>
> 169c169
> < int value_after_op;
> ---
>
> > int value_after_op = 0;
>
> Index: src/util/statistics.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/statistics.c,v
> retrieving revision 1.26
> diff -r1.26 statistics.c
> 54c54
> < static int statCounters;
> ---
>
> > static int statCounters = 0;
>
> 84c84
> < int i;
> ---
>
> > int i = 0;
>
> 105,107c105,107
> < int i;
> < unsigned long long * tmp;
> < char ** tmp2;
> ---
>
> > int i = 0;
> > unsigned long long * tmp = NULL;
> > char ** tmp2 = NULL;
>
> 198,202c198,202
> < STATS_CS_MESSAGE * statMsg;
> < int pos; /* position in the values-descriptions */
> < int start;
> < int end;
> < int mpos; /* postion in the message */
> ---
>
> > STATS_CS_MESSAGE * statMsg = NULL;
> > int pos = 0; /* position in the values-descriptions */
> > int start = 0;
> > int end = 0;
> > int mpos = 0; /* postion in the message */
>
> Index: src/util/statuscalls.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/statuscalls.c,v
> retrieving revision 1.80
> diff -r1.80 statuscalls.c
> 64c64
> < static char ** interfacePtrs; /* Pointer to the name of each interface,
> has numInterfaces entries */ ---
>
> > static char ** interfacePtrs = NULL; /* Pointer to the name of each
> > interface, has numInterfaces entries */
>
> 68,71c68,71
> < static int maxNetDownBPS;
> < static int maxNetUpBPS;
> < static int maxNetLoad; /* in percent of maxNetXXXBPS */
> < static int maxCPULoad; /* in percent of 1 CPU */
> ---
>
> > static int maxNetDownBPS = 0;
> > static int maxNetUpBPS = 0;
> > static int maxNetLoad = 0; /* in percent of maxNetXXXBPS */
> > static int maxCPULoad = 0; /* in percent of 1 CPU */
>
> 80,84c80,84
> < static NetworkStats * last_net_results; /* has numInterfaces entries */
> < static long long spaceLeft; /* in KB */
> < static long long spaceUsed; /* in KB */
> < static DriveFullCallback * driveFullCallbacks;
> < static int dfc_count;
> ---
>
> > static NetworkStats * last_net_results = NULL; /* has numInterfaces
> > entries */ static long long spaceLeft = 0; /* in KB */
> > static long long spaceUsed = 0; /* in KB */
> > static DriveFullCallback * driveFullCallbacks = NULL;
> > static int dfc_count = 0;
>
> 87,91c87,91
> < static unsigned int diskQuota; /* in MB! */
> < static int stat_handle_kb_used;
> < static int stat_handle_kb_remaining;
> < static int stat_handle_network_load;
> < static int stat_handle_cpu_load;
> ---
>
> > static unsigned int diskQuota = 0; /* in MB! */
> > static int stat_handle_kb_used = 0;
> > static int stat_handle_kb_remaining = 0;
> > static int stat_handle_network_load = 0;
> > static int stat_handle_cpu_load = 0;
>
> 129,132c129,132
> < int i;
> < long long unitsFreed;
> < long long oldNeed;
> < long long needToFree;
> ---
>
> > int i = 0;
> > long long unitsFreed = 0;
> > long long oldNeed = 0;
> > long long needToFree = 0;
>
> 157,158c157,158
> < unsigned long long use;
> < int i;
> ---
>
> > unsigned long long use = 0;
> > int i = 0;
>
> 211c211
> < DriveFullCallback * tmp;
> ---
>
> > DriveFullCallback * tmp = NULL;
>
> 233c233
> < int i;
> ---
>
> > int i = 0;
>
> 326,328c326,328
> < char * interfaces;
> < char * ifcs;
> < int start;
> ---
>
> > char * interfaces = NULL;
> > char * ifcs = NULL;
> > int start = 0;
>
> 441,445c441,445
> < int upUsage;
> < int downUsage;
> < double upCurrent;
> < double downCurrent;
> < double currentLoad;
> ---
>
> > int upUsage = 0;
> > int downUsage = 0;
> > double upCurrent = 0;
> > double downCurrent = 0;
> > double currentLoad = 0;
>
> 504,505c504,505
> < unsigned long long rxnew, txnew;
> < unsigned long long rxdiff, txdiff;
> ---
>
> > unsigned long long rxnew = 0, txnew = 0;
> > unsigned long long rxdiff = 0, txdiff = 0;
>
> 507c507
> < int ifnum;
> ---
>
> > int ifnum = 0;
>
> 511,512c511,512
> < FILE * proc_net_dev;
> < char * data;
> ---
>
> > FILE * proc_net_dev = NULL;
> > char * data = NULL;
>
> 514c514
> < FILE * command;
> ---
>
> > FILE * command = NULL;
>
> 523,525c523,525
> < int upDelta;
> < int downDelta;
> < int newTempMax;
> ---
>
> > int upDelta = 0;
> > int downDelta = 0;
> > int newTempMax = 0;
>
> 700c700
> < FILE* proc_stat;
> ---
>
> > FILE* proc_stat = NULL;
>
> 702,703c702,703
> < int user_read, system_read, nice_read, idle_read;
> < int user, system, nice, idle;
> ---
>
> > int user_read = 0, system_read = 0, nice_read = 0, idle_read = 0;
> > int user = 0, system = 0, nice = 0, idle = 0;
>
> 707c707
> < double loadavg;
> ---
>
> > double loadavg = 0;
>
> 849,850c849,850
> < char ** tmp;
> < unsigned long long size;
> ---
>
> > char ** tmp = NULL;
> > unsigned long long size = 0;
>
> Index: src/util/storage.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/storage.c,v
> retrieving revision 1.106
> diff -r1.106 storage.c
> 49c49
> < char * fn;
> ---
>
> > char * fn = NULL;
>
> 95c95
> < unsigned long long size;
> ---
>
> > unsigned long long size = 0;
>
> 127c127
> < int ret;
> ---
>
> > int ret = 0;
>
> 160,162c160,162
> < char * fm;
> < char * fn;
> < const char *fil_ptr;
> ---
>
> > char * fm = NULL;
> > char * fn = NULL;
> > const char *fil_ptr = NULL;
>
> 205,207c205,207
> < char * rdir;
> < int len;
> < int pos;
> ---
>
> > char * rdir = NULL;
> > int len = 0;
> > int pos = 0;
>
> 235,236c235,236
> < int handle;
> < int size;
> ---
>
> > int handle = 0;
> > int size = 0;
>
> 259c259
> < int handle;
> ---
>
> > int handle = 0;
>
> 304,305c304,305
> < DIR * dinfo;
> < struct dirent *finfo;
> ---
>
> > DIR * dinfo = NULL;
> > struct dirent *finfo = NULL;
>
> Index: src/util/tcp_return.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/tcp_return.c,v
> retrieving revision 1.7
> diff -r1.7 tcp_return.c
> 45c45
> < CS_RETURN_VALUE * rv;
> ---
>
> > CS_RETURN_VALUE * rv = NULL;
>
> 47d46
> < rv = NULL;
> Index: src/util/tcpio.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/tcpio.c,v
> retrieving revision 1.48
> diff -r1.48 tcpio.c
> 155c155
> < int res;
> ---
>
> > int res = 0;
>
> 195,197c195,197
> < int res;
> < int pos;
> < int size;
> ---
>
> > int res = 0;
> > int pos = 0;
> > int size = 0;
>
> 265,268c265,268
> < int res;
> < int pos;
> < char * buf;
> < unsigned short size;
> ---
>
> > int res = 0;
> > int pos = 0;
> > char * buf = NULL;
> > unsigned short size = 0;
>
> 375c375
> < int i;
> ---
>
> > int i = 0;
>
> Index: src/util/xmalloc.c
> ===================================================================
> RCS file: /var/cvs/GNUnet/GNUnet/src/util/xmalloc.c,v
> retrieving revision 1.33
> diff -r1.33 xmalloc.c
> 43c43
> < void * result;
> ---
>
> > void * result = NULL;
>
> 103c103
> < char * res;
> ---
>
> > char * res = NULL;
>
> Concerned about your privacy? Follow this link to get
> FREE encrypted email: https://www.hushmail.com/?l=2
>
> Big $$$ to be made with the HushMail Affiliate Program:
> https://www.hushmail.com/about.php?subloc=affiliate&l=427
>
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnunet-developers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+QrDs9tNtMeXQLkIRAhI4AJ9YwbyDritbt9fm9raVFNUuBYfYEgCfSLRq
Ns6MNlyirsIW1C8qYzryleI=
=9oew
-----END PGP SIGNATURE-----