summaryrefslogtreecommitdiff
path: root/pith/abdlc.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-05-21 20:58:51 -0600
committerEduardo Chappa <chappa@washington.edu>2021-05-21 20:58:51 -0600
commitd31cd71e5a3d73e20cfff89968c7b932d451f75c (patch)
tree264309197f0d847683df0ef960f87d5734c5f225 /pith/abdlc.c
parent2e57dfe03e4df802d530ae217415d50419ab4e20 (diff)
downloadalpine-d31cd71e5a3d73e20cfff89968c7b932d451f75c.tar.xz
* Clear out some gcc warnings, and code improvement. Work in progress.
Diffstat (limited to 'pith/abdlc.c')
-rw-r--r--pith/abdlc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pith/abdlc.c b/pith/abdlc.c
index 727c209b..f320c1c4 100644
--- a/pith/abdlc.c
+++ b/pith/abdlc.c
@@ -217,10 +217,10 @@ dlc_siblings(DL_CACHE_S *dlc1, DL_CACHE_S *dlc2)
DL_CACHE_S *
dlc_mgr(long int row, DlMgrOps op, DL_CACHE_S *dlc_start)
{
- int new_index, known_index, next_index;
+ int new_index, known_index, next_index = 0;
DL_CACHE_S *dlc = (DL_CACHE_S *)NULL;
- long next_row;
- long prev_row;
+ long next_row = 0L;
+ long prev_row = 0L;
if(op == Lookup){
@@ -1711,7 +1711,7 @@ fill_in_dl_field(DL_CACHE_S *new)
hostbuf[0] = '\0';
folder = NULL;
if(pab->type & REMOTE_VIA_IMAP && pab->filename){
- char *start, *end;
+ char *start, *end = NULL;
start = strindex(pab->filename, '{');
if(start)