# HG changeset patch # User Carl Byington # Date 1210448723 25200 # Node ID 63c02a242ca9060cef3c7ca2d72b12817f45084f # Parent 0616a2ee9c485cf4a8e8f6350858a3566e73916b minor code cleanup diff -r 0616a2ee9c48 -r 63c02a242ca9 src/libpst.c --- a/src/libpst.c Wed Mar 05 19:06:10 2008 -0800 +++ b/src/libpst.c Sat May 10 12:45:23 2008 -0700 @@ -4044,7 +4044,7 @@ pst_index_ll* pst_getID(pst_file* pf, uint64_t id) { - pst_index_ll *ptr = NULL; + pst_index_ll *ptr; DEBUG_ENT("pst_getID"); if (id == 0) { DEBUG_RET(); @@ -4056,7 +4056,7 @@ id -= (id & 1); DEBUG_INDEX(("Trying to find %#llx\n", id)); - if (!ptr) ptr = pf->i_head; + ptr = pf->i_head; while (ptr && (ptr->id != id)) { ptr = ptr->next; } diff -r 0616a2ee9c48 -r 63c02a242ca9 src/pst2dii.cpp.in --- a/src/pst2dii.cpp.in Wed Mar 05 19:06:10 2008 -0800 +++ b/src/pst2dii.cpp.in Sat May 10 12:45:23 2008 -0700 @@ -626,7 +626,7 @@ } if (item->folder && d_ptr->child ) { - //if this is a non-empty folder other than deleted items, we want to recurse into it + //if this is a non-empty folder, we want to recurse into it fprintf(stderr, "entering folder %s\n", item->file_as); process(item, &ff, d_ptr->child); } else if (item->email && (item->type == PST_TYPE_NOTE || item->type == PST_TYPE_REPORT)) {