]> wimlib.net Git - wimlib/commitdiff
Minor cleanups
authorEric Biggers <ebiggers3@gmail.com>
Tue, 14 May 2013 03:18:23 +0000 (22:18 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 14 May 2013 03:18:23 +0000 (22:18 -0500)
src/extract_image.c
src/lookup_table.c
src/unix_apply.c

index 396753501084c55974d654482426f81e8d0fcd2b..20b44ee26aac24aa1720282398533af2dd00ac29 100644 (file)
@@ -59,10 +59,6 @@ do_apply_op(struct wim_dentry *dentry, struct apply_args *args,
                         (full_path_nchars - args->wim_source_path_nchars) + 1];
        p = output_path;
 
-       /*print_dentry(dentry, NULL);*/
-       /*ERROR("%"TS" %"TS, args->target, dentry->_full_path);*/
-       /*ERROR("");*/
-
        tmemcpy(p, args->target, args->target_nchars);
        p += args->target_nchars;
 
index e2ce02e7bc4ea29b3bc4908df3a20e1eeca8fec7..998eb185f1586e8af2791a58d9bb11fd82247cc9 100644 (file)
@@ -525,7 +525,7 @@ out:
 
 
 static u8 *
-write_lookup_table_entry(struct wim_lookup_table_entry *lte, u8 *buf_p)
+write_lookup_table_entry(const struct wim_lookup_table_entry *lte, u8 *buf_p)
 {
        buf_p = put_resource_entry(buf_p, &lte->output_resource_entry);
        buf_p = put_u16(buf_p, lte->part_number);
index 0b96055d8142afe916d35eb9eaab6cc75f2e615e..969b8d2b6f74354eb7f0a6c7e0da2d3b80abc860 100644 (file)
@@ -383,8 +383,6 @@ unix_extract_directory(struct wim_dentry *dentry, const tchar *output_path,
        ret = tstat(output_path, &stbuf);
        if (ret == 0) {
                if (S_ISDIR(stbuf.st_mode)) {
-                       /*if (!is_root)*/
-                               /*WARNING("`%s' already exists", output_path);*/
                        goto dir_exists;
                } else {
                        ERROR("`%"TS"' is not a directory", output_path);