Author: adrian.chadd
Date: Tue Apr 28 00:20:55 2009
New Revision: 13998

Modified:
    branches/LUSCA_HEAD/tools/ufsdump.c

Log:
Remove unused code.



Modified: branches/LUSCA_HEAD/tools/ufsdump.c
==============================================================================
--- branches/LUSCA_HEAD/tools/ufsdump.c (original)
+++ branches/LUSCA_HEAD/tools/ufsdump.c Tue Apr 28 00:20:55 2009
@@ -90,20 +90,10 @@
        return buf;
  }

-void
-storeMetaNew(char *buf, int len)
-{
-       storeMetaIndexNew *sn;
-
-       sn = (storeMetaIndexNew *) buf;
-       //if (output) printf("  SWAP_META_STD_LFS: mlen %d, size %d,  
timestamp %ld, lastref %ld, expires %ld, lastmod %ld, file size %ld,  
refcount %d, flags %d\n", len, sizeof(storeMetaIndexNew), sn->timestamp,  
sn->lastref, sn->expires, sn->lastmod, sn->swap_file_sz, sn->refcount,  
sn->flags);
-}
-
  static int
  parse_header(char *buf, int len, rebuild_entry_t *re)
  {
        tlv *t, *tlv_list;
-       int64_t *l = NULL;
        int bl = len;
        int parsed = 0;

@@ -138,8 +128,6 @@
            case STORE_META_OBJSIZE:
                fprintf(stderr, "  STORE_META_OBJSIZE\n");
                /* XXX is this typecast'ed to the right "size" on all platforms 
? */
-               //re->file_size = * ((int64_t *) l);
-               parsed++;
                break;
            default:
                break;

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to