diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2017-02-06 09:47:46 +0100 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2017-02-06 21:42:18 +0200 |
commit | 15aaf62b93dcb8071e8f8deecfd6171b6afa1d48 (patch) | |
tree | 6793442d42484f8bcd62329d411ef13d1b03f40e | |
parent | 8abf8bda2fe9a9e5fd24b78b9ddc77475737cd38 (diff) | |
download | cpio-15aaf62b93dcb8071e8f8deecfd6171b6afa1d48.tar.gz cpio-15aaf62b93dcb8071e8f8deecfd6171b6afa1d48.tar.bz2 |
build: lint warnings in --device-independent
Complements: 3945f9db44c935608caa5f0
* src/util.c (find_inode_val): Drop unused variable.
(get_inode_and_dev): Function doesn't return any value, drop the
return value in definition.
-rw-r--r-- | src/util.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -718,7 +718,6 @@ find_inode_val (ino_t node_num, unsigned long major_num, unsigned long minor_num) { struct inode_val sample; - struct inode_val *ival; if (!hash_table) return NULL; @@ -768,7 +767,7 @@ add_inode (ino_t node_num, char *file_name, unsigned long major_num, return e; } -static ino_t +static void get_inode_and_dev (struct cpio_file_stat *hdr, struct stat *st) { if (renumber_inodes_option) |