]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blobdiff - misc/create_inode_libarchive.c
Fix various compiler -Wall warnings
[thirdparty/e2fsprogs.git] / misc / create_inode_libarchive.c
index 9ed80eebf86890620dad53a8e00e396b0b0fbe40..d7822d8affb71bf93f95df5474210af8903eb675 100644 (file)
@@ -352,7 +352,6 @@ static errcode_t do_write_internal_tar(ext2_filsys fs, ext2_ino_t cwd,
        ext2_ino_t newfile;
        errcode_t retval;
        struct ext2_inode inode;
-       char *cp;
 
        retval = ext2fs_new_inode(fs, cwd, 010755, 0, &newfile);
        if (retval)
@@ -547,7 +546,7 @@ static errcode_t handle_entry(ext2_filsys fs, ext2_ino_t root_ino,
 
 errcode_t __populate_fs_from_tar(ext2_filsys fs, ext2_ino_t root_ino,
                                 const char *source_tar, ext2_ino_t root,
-                                struct hdlinks_s *hdlinks,
+                                struct hdlinks_s *hdlinks EXT2FS_ATTR((unused)),
                                 struct file_info *target,
                                 struct fs_ops_callbacks *fs_callbacks)
 {