Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cygwin-testdisk.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1621593050.517347/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ic_77l3d:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ic_77l3d:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '459a3d57adf64e739d324fd7d61c206f', '-D', '/var/lib/mock/epel-7-x86_64-1621593050.517347/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ic_77l3d:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cygwin-testdisk.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/cygwin-testdisk-7.2-0.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/cygwin-testdisk.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1621593050.517347/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ic_77l3d:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ic_77l3d:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '92f484c6a4824dbf960f47dc765685fa', '-D', '/var/lib/mock/epel-7-x86_64-1621593050.517347/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ic_77l3d:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/cygwin-testdisk.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FZxG9n + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cygwin-testdisk-7.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/testdisk-7.2.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd cygwin-testdisk-7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2LIxiU + umask 022 + cd /builddir/build/BUILD + cd cygwin-testdisk-7.2 + autoreconf -vif -I config -W all autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I config --force --warnings=all aclocal: warning: couldn't open directory 'config': No such file or directory autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory config autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --include=config --force --warnings=all autoreconf: running: /usr/bin/autoheader --include=config --force --warnings=all autoreconf: running: automake --add-missing --copy --force-missing --warnings=all configure.ac:13: installing 'config/config.guess' configure.ac:13: installing 'config/config.sub' configure.ac:17: installing 'config/install-sh' configure.ac:17: installing 'config/missing' Makefile.am:63: warning: '%'-style pattern rules are a GNU make extension Makefile.am:66: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:450: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:459: warning: frama-c -print-path: non-POSIX variable name src/Makefile.am:459: (probably a GNU make extension) src/Makefile.am:477: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:481: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:489: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:505: warning: td_mtime,&de->time,&de->date); | ^~~~~~~~~ ../../src/fat_adv.c:626:54: warning: taking address of packed member of 'struct msdos_dir_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 626 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); | ^~~~~~~~~ CC fat_cluster.o CC fatn.o CC geometry.o CC geometryn.o ../../src/geometryn.c: In function 'change_geometry_ncurses': ../../src/geometryn.c:118:40: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 118 | if (tmp_val > 0 && tmp_val <= MAX_HEADS) { | ^~ CC godmode.o CC hiddenn.o CC intrface.o CC intrfn.o CC nodisk.o CC ntfs_adv.o ../../src/ntfs_adv.c: In function 'create_ntfs_boot_sector': ../../src/ntfs_adv.c:295:40: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 295 | mft_record_size / cluster_size : -(testdisk_ffs(mft_record_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/ntfs_adv.c:297:41: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 297 | index_block_size / cluster_size : -(testdisk_ffs(index_block_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC ntfs_fix.o CC ntfs_udl.o ../../src/ntfs_udl.c: In function 'get_parent_name': ../../src/ntfs_udl.c:310:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 310 | if (ntfs_ucstombs(filename_attr->file_name, | ~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/ntfs_udl.c: In function 'get_filenames': ../../src/ntfs_udl.c:399:22: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 399 | name->uname = attr->file_name; | ^~~~ ../../src/ntfs_udl.c: In function 'scan_disk': ../../src/ntfs_udl.c:1126:24: warning: argument 1 of 'ntfs_log_set_handler' might be a candidate for a format attribute [-Wsuggest-attribute=format] 1126 | ntfs_log_set_handler(ntfs_log_handler_stderr); | ^~~~~~~~~~~~~~~~~~~~~~~ CC parti386n.o CC partgptn.o CC partmacn.o CC partsunn.o CC partxboxn.o CC tanalyse.o CC tbanner.o CC tdelete.o CC tdiskop.o CC tdisksel.o CC testdisk.o CC texfat.o CC thfs.o CC tload.o CC tlog.o CC tmbrcode.o CC tntfs.o CC toptions.o CC tpartwr.o CC dir.o ../../src/dir.c: In function 'set_mode': ../../src/dir.c:475:26: warning: unused parameter 'pathname' [-Wunused-parameter] 475 | int set_mode(const char *pathname, unsigned int mode) | ~~~~~~~~~~~~^~~~~~~~ ../../src/dir.c:475:49: warning: unused parameter 'mode' [-Wunused-parameter] 475 | int set_mode(const char *pathname, unsigned int mode) | ~~~~~~~~~~~~~^~~~ At top level: ../../src/dir.c:453:15: warning: 'mode_xlate' defined but not used [-Wunused-function] 453 | static mode_t mode_xlate(unsigned int lmode) | ^~~~~~~~~~ CC exfat_dir.o ../../src/exfat_dir.c: In function 'exfat_ucstoutf8': ../../src/exfat_dir.c:93:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 93 | if (iconv(cd, (char **)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ CC ext2_dir.o CC fat_dir.o ../../src/fat_dir.c: In function 'dir_fat_aux': ../../src/fat_dir.c:101:24: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 101 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ ../../src/fat_dir.c:108:26: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 108 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ ../../src/fat_dir.c:125:26: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 125 | ds = (const struct msdos_dir_slot *) de_initial; | ^~~~~~~~~~~~~~ ../../src/fat_dir.c:159:24: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 159 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ ../../src/fat_dir.c:190:21: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 190 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ ../../src/ext2_dir.c: In function 'alloc_io_channel': ../../src/ext2_dir.c:112:50: warning: unused parameter 'disk_car' [-Wunused-parameter] 112 | static io_channel alloc_io_channel(const disk_t *disk_car,my_data_t *my_data) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/ext2_dir.c: In function 'my_open': ../../src/ext2_dir.c:139:38: warning: unused parameter 'dev' [-Wunused-parameter] 139 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~~~~~~~~~^~~ ../../src/ext2_dir.c:139:47: warning: unused parameter 'flags' [-Wunused-parameter] 139 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~^~~~~ ../../src/ext2_dir.c: In function 'my_flush': ../../src/ext2_dir.c:213:38: warning: unused parameter 'channel' [-Wunused-parameter] 213 | static errcode_t my_flush(io_channel channel) | ~~~~~~~~~~~^~~~~~~ ../../src/ext2_dir.c: In function 'list_dir_proc2': ../../src/ext2_dir.c:218:38: warning: unused parameter 'dir' [-Wunused-parameter] 218 | static int list_dir_proc2(ext2_ino_t dir, | ~~~~~~~~~~~^~~ ../../src/ext2_dir.c:221:9: warning: unused parameter 'offset' [-Wunused-parameter] 221 | int offset, | ~~~~^~~~~~ ../../src/ext2_dir.c:222:9: warning: unused parameter 'blocksize' [-Wunused-parameter] 222 | int blocksize, | ~~~~^~~~~~~~~ ../../src/ext2_dir.c:223:11: warning: unused parameter 'buf' [-Wunused-parameter] 223 | char *buf, | ~~~~~~^~~ ../../src/ext2_dir.c: In function 'ext2_dir': ../../src/ext2_dir.c:271:29: warning: unused parameter 'disk_car' [-Wunused-parameter] 271 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ../../src/ext2_dir.c:271:58: warning: unused parameter 'partition' [-Wunused-parameter] 271 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/ext2_dir.c: In function 'ext2_copy': ../../src/ext2_dir.c:292:30: warning: unused parameter 'disk_car' [-Wunused-parameter] 292 | static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ../../src/ext2_dir.c:292:59: warning: unused parameter 'partition' [-Wunused-parameter] 292 | static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ CC ntfs_dir.o ../../src/ntfs_dir.c: In function 'ntfs_ucstoutf8': ../../src/ntfs_dir.c:157:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 157 | if (iconv(cd, (char**)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ ../../src/ntfs_dir.c: In function 'ntfs_td_list_entry': ../../src/ntfs_dir.c:173:54: warning: unused parameter 'pos' [-Wunused-parameter] 173 | const int name_len, const int name_type, const s64 pos, | ~~~~~~~~~~^~~ ../../src/ntfs_dir.c: In function 'ntfs_dir': ../../src/ntfs_dir.c:305:29: warning: unused parameter 'disk_car' [-Wunused-parameter] 305 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ../../src/ntfs_dir.c:305:58: warning: unused parameter 'partition' [-Wunused-parameter] 305 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/ntfs_dir.c: In function 'ntfs_copy': ../../src/ntfs_dir.c:340:30: warning: unused parameter 'disk_car' [-Wunused-parameter] 340 | static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ../../src/ntfs_dir.c:340:59: warning: unused parameter 'partition' [-Wunused-parameter] 340 | static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/ntfs_dir.c: In function 'dir_partition_ntfs_init': ../../src/ntfs_dir.c:478:24: warning: argument 1 of 'ntfs_log_set_handler' might be a candidate for a format attribute [-Wsuggest-attribute=format] 478 | ntfs_log_set_handler(ntfs_log_handler_stderr); | ^~~~~~~~~~~~~~~~~~~~~~~ CC partgptw.o CC rfs_dir.o ../../src/partgptw.c: In function 'write_part_gpt': ../../src/partgptw.c:243:87: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | if(disk_car->pread(disk_car, gpt_org, disk_car->sector_size, disk_car->sector_size) == disk_car->sector_size) | ^~ ../../src/partgptw.c:218:92: warning: unused parameter 'verbose' [-Wunused-parameter] 218 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/rfs_dir.c: In function 'dir_partition_reiser_init': ../../src/rfs_dir.c:548:51: warning: unused parameter 'disk_car' [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~^~~~~~~~ ../../src/rfs_dir.c:548:80: warning: unused parameter 'partition' [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/rfs_dir.c:548:103: warning: unused parameter 'dir_data' [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~~~^~~~~~~~ ../../src/rfs_dir.c:548:123: warning: unused parameter 'verbose' [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~^~~~~~~ /usr/bin/i686-pc-cygwin-windres --include-dir ../../src ../../src/icon_tst.rc icon_tst.o CC next.o CC photorec.o CC phcfg.o ../../src/photorec.c: In function 'set_search_start': ../../src/photorec.c:762:20: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 762 | if(params->offset!=-1) | ^~ CC exfatp.o CC ext2grp.o CC ext2p.o CC fatp.o CC file_found.o CC ntfsp.o CC pdisksel.o CC poptions.o CC sessionp.o CC dfxml.o ../../src/sessionp.c: In function 'session_save': ../../src/sessionp.c:299:60: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 299 | if(params->status!=STATUS_FIND_OFFSET && params->offset!=-1) | ^~ CC partgptro.o CC filegen.o ../../src/partgptro.c: In function 'write_part_gpt': ../../src/partgptro.c:32:28: warning: unused parameter 'disk_car' [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ ../../src/partgptro.c:32:57: warning: unused parameter 'list_part' [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/partgptro.c:32:92: warning: unused parameter 'verbose' [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ CC file_list.o ../../src/filegen.c: In function 'data_check_size': ../../src/filegen.c:337:51: warning: unused parameter 'buffer' [-Wunused-parameter] 337 | data_check_t data_check_size(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../../src/filegen.c:39: ../../src/filegen.c: In function '_file_rename': ../../src/filegen.c:554:15: warning: array subscript has type 'char' [-Wchar-subscripts] 554 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:554:33: warning: array subscript has type 'char' [-Wchar-subscripts] 554 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:554:51: warning: array subscript has type 'char' [-Wchar-subscripts] 554 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:554:69: warning: array subscript has type 'char' [-Wchar-subscripts] 554 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c: In function '_file_rename_unicode': ../../src/filegen.c:688:15: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:688:33: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:688:51: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:688:69: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ CC file_1cd.o ../../src/file_1cd.c: In function 'header_check_1cd': ../../src/file_1cd.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_1cd.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_1cd.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_3dm.o ../../src/file_3dm.c: In function 'header_check_3dm': ../../src/file_3dm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_3dm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_3ds.o ../../src/file_3ds.c: In function 'header_check_3ds': ../../src/file_3ds.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_3ds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_3ds.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_3ds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_7z.o ../../src/file_7z.c: In function 'header_check_7z': ../../src/file_7z.c:68:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_7z.c:68:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_7z.c:68:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_DB.o ../../src/file_DB.c: In function 'header_check_DB': ../../src/file_DB.c:55:49: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_DB.c:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_DB.c:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_DB.c:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_a.o ../../src/file_a.c: In function 'header_check_a': ../../src/file_a.c:68:75: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_a.c:68:107: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_a.c:68:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ab.o ../../src/file_ab.c: In function 'header_check_addressbook': ../../src/file_ab.c:98:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ab.c:98:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 98 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ab.c:98:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 98 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_abr.o CC file_acb.o ../../src/file_abr.c: In function 'header_check_abr': ../../src/file_abr.c:95:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 95 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_abr.c:95:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 95 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_acb.c: In function 'header_check_acb': ../../src/file_acb.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_acb.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_acb.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_acb.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ace.o CC file_ado.o ../../src/file_ace.c: In function 'header_check_ace': ../../src/file_ace.c:233:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 233 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ace.c:233:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 233 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ace.c:233:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 233 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ado.c: In function 'header_check_ado': ../../src/file_ado.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ado.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ado.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_afdesign.o ../../src/file_afdesign.c: In function 'header_check_afdesign': ../../src/file_afdesign.c:76:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_ahn.o ../../src/file_afdesign.c:76:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_afdesign.c:76:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_aif.o ../../src/file_ahn.c: In function 'header_check_ahn': ../../src/file_ahn.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ahn.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ahn.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_aif.c: In function 'header_check_aif': ../../src/file_aif.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_aif.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_aif.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_all.o ../../src/file_all.c: In function 'header_check_all': ../../src/file_all.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_all.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_all.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_all.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_als.o CC file_amd.o ../../src/file_als.c: In function 'header_check_als': ../../src/file_als.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_als.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_als.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_amd.c: In function 'header_check_amd': ../../src/file_amd.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_amd.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_amd.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_amd.c: In function 'header_check_amt': ../../src/file_amd.c:80:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 80 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_amd.c:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_amd.c:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_amr.o CC file_apa.o ../../src/file_amr.c: In function 'header_check_amr': ../../src/file_amr.c:101:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 101 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_amr.c:101:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 101 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_amr.c:101:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 101 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_apa.c: In function 'header_check_apa': ../../src/file_apa.c:57:55: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | @*/static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_apa.c:57:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | @*/static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_apa.c:57:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | @*/static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_apa.c:57:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | @*/static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ape.o CC file_apple.o ../../src/file_ape.c: In function 'header_check_ape': ../../src/file_ape.c:113:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 113 | @*/static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ape.c:113:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 113 | @*/static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_apple.c: In function 'header_check_apple': ../../src/file_apple.c:55:52: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_apple.c:55:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_apple.c:55:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_apple.c:55:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ari.o CC file_arj.o ../../src/file_ari.c: In function 'header_check_ari': ../../src/file_ari.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ari.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ari.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_arj.c: In function 'header_check_arj': ../../src/file_arj.c:174:32: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 174 | if(file_recovery_new->time < le32(arj->mtime)) | ^ ../../src/file_arj.c:146:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 146 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_arj.c:146:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 146 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_arj.c:146:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 146 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_asf.o CC file_asl.o ../../src/file_asf.c: In function 'header_check_asf': ../../src/file_asf.c:83:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 83 | static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_asf.c:83:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 83 | static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_asl.c: In function 'header_check_asl': ../../src/file_asl.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_asl.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_asl.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_asl.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_asm.o CC file_atd.o ../../src/file_asm.c: In function 'header_check_asm': ../../src/file_asm.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_asm.c:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_asm.c:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_atd.c: In function 'header_check_atd': ../../src/file_atd.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_atd.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_atd.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_atd.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_au.o CC file_axp.o ../../src/file_au.c: In function 'header_check_au': ../../src/file_au.c:69:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_au.c:69:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_au.c:69:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_axp.c: In function 'header_check_axp': ../../src/file_axp.c:110:50: warning: unused parameter 'buffer' [-Wunused-parameter] 110 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_axp.c:110:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 110 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_axp.c:110:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 110 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_axp.c:110:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 110 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_axx.o CC file_bac.o ../../src/file_axx.c: In function 'header_check_axx': ../../src/file_axx.c:122:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 122 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_axx.c:122:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 122 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_axx.c:122:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 122 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_bac.c: In function 'header_check_bac': ../../src/file_bac.c:126:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 126 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bac.c:126:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 126 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bac.c:126:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 126 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bdm.o CC file_berkeley.o ../../src/file_bdm.c: In function 'header_check_bdm': ../../src/file_bdm.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_bdm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bdm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bdm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_berkeley.c: In function 'header_check_berkeley_le': ../../src/file_berkeley.c:57:58: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_berkeley.c:57:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_berkeley.c:57:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_berkeley.c:57:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bfa.o CC file_bim.o ../../src/file_bim.c: In function 'header_check_bim': ../../src/file_bim.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_bim.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bim.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bim.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_bfa.c: In function 'header_check_bfa': ../../src/file_bfa.c:70:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | static int header_check_bfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bfa.c:70:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | static int header_check_bfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bfa.c:70:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | static int header_check_bfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bin.o CC file_binvox.o ../../src/file_bin.c: In function 'header_check_bin': ../../src/file_bin.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bin.c:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bin.c:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_binvox.c: In function 'header_check_binvox': ../../src/file_binvox.c:57:53: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_binvox.c:57:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_binvox.c:57:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_binvox.c:57:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bkf.o CC file_bld.o ../../src/file_bkf.c: In function 'header_check_bkf': ../../src/file_bkf.c:120:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 120 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bkf.c:120:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 120 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bkf.c:120:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 120 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_bld.c: In function 'header_check_blend': ../../src/file_bld.c:263:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 263 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bld.c:263:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 263 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bld.c:263:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 263 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bmp.o ../../src/file_bmp.c: In function 'header_check_bmp': ../../src/file_bmp.c:104:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bmp.c:104:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bmp.c:104:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bpg.o CC file_bvr.o ../../src/file_bpg.c: In function 'header_check_bpg': ../../src/file_bpg.c:111:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 111 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bpg.c:111:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 111 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_bvr.c: In function 'header_check_bvr': ../../src/file_bvr.c:86:50: warning: unused parameter 'buffer' [-Wunused-parameter] 86 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_bvr.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bvr.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_bz2.o CC file_c4d.o ../../src/file_bz2.c: In function 'header_check_bz2': ../../src/file_bz2.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bz2.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bz2.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_c4d.c: In function 'header_check_c4d': ../../src/file_c4d.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_c4d.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_c4d.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_c4d.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cab.o CC file_caf.o ../../src/file_cab.c: In function 'header_check_cab': ../../src/file_cab.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cab.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cab.c:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_caf.c: In function 'header_check_caf': ../../src/file_caf.c:127:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 127 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_caf.c:127:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 127 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_caf.c:127:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 127 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cam.o CC file_catdrawing.o ../../src/file_cam.c: In function 'header_check_cam': ../../src/file_cam.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_cam.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cam.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cam.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cdt.o ../../src/file_catdrawing.c: In function 'header_check_catdrawing': ../../src/file_catdrawing.c:57:57: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_catdrawing.c:57:84: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_catdrawing.c:57:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_catdrawing.c:57:157: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_che.o ../../src/file_cdt.c: In function 'header_check_cdt': ../../src/file_cdt.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cdt.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cdt.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_chm.o ../../src/file_che.c: In function 'header_check_che': ../../src/file_che.c:116:50: warning: unused parameter 'buffer' [-Wunused-parameter] 116 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_che.c:116:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 116 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_che.c:116:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_che.c:116:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 116 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_chm.c: In function 'header_check_chm': ../../src/file_chm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_chm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_chm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_class.o CC file_cm.o ../../src/file_class.c: In function 'header_check_class': ../../src/file_class.c:65:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_class.c:65:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_class.c:65:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_cm.c: In function 'header_check_cm': ../../src/file_cm.c:57:49: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_cm.c:57:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cm.c:57:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cm.c:57:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_compress.o CC file_cow.o ../../src/file_compress.c: In function 'header_check_compress': ../../src/file_compress.c:57:55: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_compress.c:57:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_compress.c:57:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_compress.c:57:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_cow.c: In function 'header_check_qcow1': ../../src/file_cow.c:90:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 90 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cow.c:90:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 90 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cow.c:90:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 90 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_cow.c: In function 'header_check_qcow2': ../../src/file_cow.c:114:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 114 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cow.c:114:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 114 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cow.c:114:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 114 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cpi.o CC file_crw.o ../../src/file_cpi.c: In function 'header_check_cpi': ../../src/file_cpi.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_cpi.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cpi.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cpi.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_csh.o ../../src/file_crw.c: In function 'header_check_crw': ../../src/file_crw.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_crw.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_crw.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_csh.c: In function 'header_check_csh': ../../src/file_csh.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_csh.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_csh.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_csh.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ctg.o CC file_cwk.o ../../src/file_ctg.c: In function 'header_check_ctg': ../../src/file_ctg.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_ctg.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ctg.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ctg.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_cwk.c: In function 'header_check_cwk': ../../src/file_cwk.c:96:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 96 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cwk.c:96:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 96 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cwk.c:96:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 96 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_d2s.o CC file_dad.o ../../src/file_d2s.c: In function 'header_check_d2s': ../../src/file_d2s.c:80:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 80 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_d2s.c:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_d2s.c:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dad.c: In function 'header_check_dad': ../../src/file_dad.c:101:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 101 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dad.c:101:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 101 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_dar.o ../../src/file_dar.c: In function 'header_check_dar': ../../src/file_dar.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dar.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dar.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dat.o CC file_dbf.o ../../src/file_dat.c: In function 'header_check_dat': ../../src/file_dat.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dat.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dat.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dat.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dat.c: In function 'header_check_datIE': ../../src/file_dat.c:76:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dat.c:76:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dat.c:76:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dat.c: In function 'header_check_dat_history4': ../../src/file_dat.c:101:86: warning: unused parameter 'buffer_size' [-Wunused-parameter] 101 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dat.c:101:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 101 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dat.c:101:159: warning: unused parameter 'file_recovery' [-Wunused-parameter] 101 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dat.c: In function 'header_check_dat_history10': ../../src/file_dat.c:122:87: warning: unused parameter 'buffer_size' [-Wunused-parameter] 122 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dat.c:122:119: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 122 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dat.c:122:160: warning: unused parameter 'file_recovery' [-Wunused-parameter] 122 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dbf.c: In function 'header_check_dbf': ../../src/file_dbf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dbf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dbf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dbn.o CC file_dcm.o ../../src/file_dbn.c: In function 'header_check_dbn': ../../src/file_dbn.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dbn.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dbn.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dcm.c: In function 'header_check_dcm': ../../src/file_dcm.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dcm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dcm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dcm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ddf.o CC file_dex.o ../../src/file_dex.c: In function 'header_check_dex': ../../src/file_dex.c:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dex.c:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dex.c:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ddf.c: In function 'header_check_ddf3': ../../src/file_ddf.c:115:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 115 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ddf.c:115:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 115 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ddf.c:115:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 115 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ddf.c: In function 'header_check_ddf4': ../../src/file_ddf.c:136:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 136 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ddf.c:136:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 136 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ddf.c:136:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 136 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ddf.c: In function 'header_check_ddf5': ../../src/file_ddf.c:157:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 157 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ddf.c:157:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 157 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ddf.c:157:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 157 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dim.o CC file_dir.o ../../src/file_dim.c: In function 'header_check_dim': ../../src/file_dim.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dim.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dim.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dim.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_djv.o ../../src/file_dir.c: In function 'data_check_fatdir': ../../src/file_dir.c:85:60: warning: unused parameter 'buffer' [-Wunused-parameter] 85 | static data_check_t data_check_fatdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dir.c: In function 'header_check_dir': ../../src/file_dir.c:102:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 102 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dir.c:102:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 102 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dir.c:102:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 102 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_djv.c: In function 'header_check_djv': ../../src/file_djv.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_djv.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_djv.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dmp.o CC file_doc.o ../../src/file_dmp.c: In function 'header_check_dmp': ../../src/file_dmp.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dmp.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dmp.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dpx.o ../../src/file_doc.c: In function 'header_check_doc': ../../src/file_doc.c:1739:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 1739 | static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_doc.c:1739:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 1739 | static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dpx.c: In function 'header_check_dpx': ../../src/file_dpx.c:95:66: warning: pointer targets in passing argument 1 of 'get_time_from_YYYY_MM_DD_HH_MM_SS' differ in signedness [-Wpointer-sign] 95 | file_recovery_new->time=get_time_from_YYYY_MM_DD_HH_MM_SS(dpx->create_time); | ~~~^~~~~~~~~~~~~ | | | const char * In file included from ../../src/file_dpx.c:35: ../../src/filegen.h:356:63: note: expected 'const unsigned char *' but argument is of type 'const char *' 356 | time_t get_time_from_YYYY_MM_DD_HH_MM_SS(const unsigned char *date_asc); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../src/file_dpx.c:81:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 81 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dpx.c:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dpx.c:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_drw.o ../../src/file_drw.c: In function 'header_check_drw': ../../src/file_drw.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_drw.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_drw.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_drw2.o ../../src/file_drw2.c: In function 'header_check_drw2': ../../src/file_drw2.c:56:51: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_drw2.c:56:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_drw2.c:56:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_drw2.c:56:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ds2.o ../../src/file_ds2.c: In function 'header_check_ds2': ../../src/file_ds2.c:84:54: warning: pointer targets in passing argument 1 of 'get_time_from_YYMMDDHHMMSS' differ in signedness [-Wpointer-sign] 84 | file_recovery_new->time=get_time_from_YYMMDDHHMMSS(date_asc); | ^~~~~~~~ | | | const unsigned char * In file included from ../../src/file_ds2.c:35: ../../src/filegen.h:350:47: note: expected 'const char *' but argument is of type 'const unsigned char *' 350 | time_t get_time_from_YYMMDDHHMMSS(const char *date_asc); | ~~~~~~~~~~~~^~~~~~~~ ../../src/file_ds2.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ds2.c:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ds2.c:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ds_store.o ../../src/file_ds_store.c: In function 'header_check_ds_store': ../../src/file_ds_store.c:68:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ds_store.c:68:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ds_store.c:68:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dsc.o ../../src/file_dsc.c: In function 'header_check_dsc': ../../src/file_dsc.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dsc.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dsc.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dss.o ../../src/file_dss.c: In function 'header_check_dss': ../../src/file_dss.c:72:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dss.c:72:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dss.c:72:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dst.o In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1802:11: note: called from here 1802 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1806:11: note: called from here 1806 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1810:11: note: called from here 1810 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1811:7: note: called from here 1811 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1812:7: note: called from here 1812 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1813:7: note: called from here 1813 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1817:11: note: called from here 1817 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1821:11: note: called from here 1821 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1825:11: note: called from here 1825 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1829:11: note: called from here 1829 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1833:11: note: called from here 1833 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1837:11: note: called from here 1837 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1841:11: note: called from here 1841 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1842:10: note: called from here 1842 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1846:11: note: called from here 1846 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/file_dst.c: In function 'header_check_dst': ../../src/file_dst.c:65:13: warning: passing argument 1 of 'sscanf' from incompatible pointer type [-Wincompatible-pointer-types] 65 | if(sscanf(&buf, "%u", &stitch_count) < 0) | ^~~~ | | | char (*)[8] In file included from ../../src/file_dst.c:30: /usr/i686-pc-cygwin/sys-root/usr/include/stdio.h:204:13: note: expected 'const char * restrict' but argument is of type 'char (*)[8]' 204 | int sscanf (const char *__restrict, const char *__restrict, ...) | ^ ../../src/file_dst.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dst.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dst.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dta.o ../../src/file_dta.c: In function 'header_check_dta': ../../src/file_dta.c:58:50: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dta.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dta.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dta.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dump.o ../../src/file_dump.c: In function 'header_check_dump': ../../src/file_dump.c:139:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 139 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dump.c:139:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 139 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dump.c:139:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 139 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dv.o ../../src/file_dv.c: In function 'header_check_dv': ../../src/file_dv.c:206:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 206 | static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dv.c:206:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 206 | static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_dvi.o ../../src/file_dvi.c: In function 'header_check_dvi': ../../src/file_dvi.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dvi.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dvi.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dvr.o ../../src/file_dvr.c: In function 'header_check_dvr': ../../src/file_dvr.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dvr.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_dwg.o CC file_dxf.o ../../src/file_dwg.c: In function 'header_check_dwg': ../../src/file_dwg.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dwg.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dwg.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dwg.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dxf.c: In function 'header_check_dxf': ../../src/file_dxf.c:100:50: warning: unused parameter 'buffer' [-Wunused-parameter] 100 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dxf.c:100:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 100 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dxf.c:100:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 100 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dxf.c:100:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 100 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_e01.o CC file_edb.o ../../src/file_e01.c: In function 'header_check_e01': ../../src/file_e01.c:110:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 110 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_e01.c:110:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 110 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_e01.c:110:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 110 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_edb.c: In function 'header_check_edb': ../../src/file_edb.c:58:50: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_edb.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_edb.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_ecryptfs.o CC file_elf.o ../../src/file_ecryptfs.c: In function 'header_check_ecryptfs': ../../src/file_ecryptfs.c:85:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 85 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ecryptfs.c:85:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 85 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ecryptfs.c:85:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 85 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_elf.c: In function 'header_check_elf32_lsb': ../../src/file_elf.c:133:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 133 | static int header_check_elf32_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_elf.c:133:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 133 | static int header_check_elf32_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_elf.c:133:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 133 | static int header_check_elf32_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_elf.c: In function 'header_check_elf32_msb': ../../src/file_elf.c:161:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 161 | static int header_check_elf32_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_elf.c:161:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 161 | static int header_check_elf32_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_elf.c:161:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 161 | static int header_check_elf32_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_elf.c: In function 'header_check_elf64_lsb': ../../src/file_elf.c:189:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 189 | static int header_check_elf64_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_elf.c:189:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 189 | static int header_check_elf64_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_elf.c:189:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 189 | static int header_check_elf64_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_elf.c: In function 'header_check_elf64_msb': ../../src/file_elf.c:217:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 217 | static int header_check_elf64_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_elf.c:217:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 217 | static int header_check_elf64_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_elf.c:217:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 217 | static int header_check_elf64_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_emf.o CC file_ess.o ../../src/file_emf.c: In function 'header_check_emf': ../../src/file_emf.c:393:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 393 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_emf.c:393:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 393 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ess.c: In function 'header_check_ess': ../../src/file_ess.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_ess.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ess.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ess.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_evt.o CC file_evtx.o ../../src/file_evt.c: In function 'header_check_evt': ../../src/file_evt.c:109:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 109 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_evt.c:109:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 109 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_evt.c:109:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 109 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_evtx.c: In function 'header_check_evtx': ../../src/file_evtx.c:73:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_evtx.c:73:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_evtx.c:73:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_exe.o CC file_exr.o ../../src/file_exe.c: In function 'parse_StringTable': ../../src/file_exe.c:184:16: warning: variable 'val_len' set but not used [-Wunused-but-set-variable] 184 | unsigned int val_len; | ^~~~~~~ ../../src/file_exe.c: In function 'header_check_exe': ../../src/file_exe.c:740:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 740 | static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_exe.c:740:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 740 | static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_exr.c: In function 'header_check_exr': ../../src/file_exr.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_exr.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_exr.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_exr.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_exs.o ../../src/file_exs.c: In function 'header_check_exs': ../../src/file_exs.c:81:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 81 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_exs.c:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_exs.c:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ext.o ../../src/file_ext.c: In function 'header_check_ext2_sb': ../../src/file_ext.c:91:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 91 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ext.c:91:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 91 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ext.c:91:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 91 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ext.c: In function 'data_check_extdir': ../../src/file_ext.c:117:60: warning: unused parameter 'buffer' [-Wunused-parameter] 117 | static data_check_t data_check_extdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_ext.c: In function 'header_check_ext2_dir': ../../src/file_ext.c:163:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 163 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ext.c:163:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 163 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ext.c:163:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 163 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ext2.o CC file_fat.o ../../src/file_ext2.c: In function 'header_check_ext2_fs': ../../src/file_ext2.c:58:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ext2.c:58:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_fbf.o ../../src/file_fat.c: In function 'header_check_fat': ../../src/file_fat.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fat.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fat.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fbf.c: In function 'header_check_fbf': ../../src/file_fbf.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fbf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fbf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fbf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fbk.o CC file_fcp.o ../../src/file_fbk.c: In function 'header_check_fbk': ../../src/file_fbk.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fbk.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fbk.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fbk.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fcp.c: In function 'header_check_fcp': ../../src/file_fcp.c:62:50: warning: unused parameter 'buffer' [-Wunused-parameter] 62 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fcp.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fcp.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fcp.c:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fcs.o CC file_fdb.o ../../src/file_fdb.c: In function 'header_check_fdb': ../../src/file_fdb.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fdb.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fdb.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fcs.c: In function 'header_check_fcs': ../../src/file_fcs.c:152:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 152 | static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fcs.c:152:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 152 | static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fds.o ../../src/file_fds.c: In function 'header_check_fds': ../../src/file_fds.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fds.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fds.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fh10.o ../../src/file_fh10.c: In function 'header_check_fh10': ../../src/file_fh10.c:59:51: warning: unused parameter 'buffer' [-Wunused-parameter] 59 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fh10.c:59:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fh10.c:59:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fh10.c:59:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fh5.o ../../src/file_fh5.c: In function 'header_check_fh5': ../../src/file_fh5.c:81:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 81 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fh5.c:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fh5.c:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_filevault.o CC file_fits.o ../../src/file_filevault.c: In function 'header_check_filevault': ../../src/file_filevault.c:57:56: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_filevault.c:57:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_filevault.c:57:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_filevault.c:57:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fits.c: In function 'header_check_fits': ../../src/file_fits.c:225:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 225 | static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fits.c:225:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 225 | static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fit.o ../../src/file_fit.c: In function 'header_check_fit': ../../src/file_fit.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fit.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fit.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_flac.o ../../src/file_flac.c: In function 'header_check_flac': ../../src/file_flac.c:97:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_flac.c:97:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_flac.c:97:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_flp.o CC file_flv.o ../../src/file_flp.c: In function 'header_check_flp': ../../src/file_flp.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_flp.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_flp.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fm.o ../../src/file_flv.c: In function 'header_check_flv': ../../src/file_flv.c:123:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 123 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_flv.c:123:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 123 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_flv.c:123:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 123 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fm.c: In function 'header_check_fm': ../../src/file_fm.c:64:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fm.c:64:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fm.c:64:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fob.o CC file_fos.o ../../src/file_fob.c: In function 'header_check_fob': ../../src/file_fob.c:70:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 70 | if(pos2!=NULL && pos2-sbuffer > tmp) | ^ ../../src/file_fob.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fob.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fos.c: In function 'header_check_fos': ../../src/file_fos.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fos.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fos.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fos.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fp5.o CC file_fp7.o ../../src/file_fp5.c: In function 'header_check_fp5': ../../src/file_fp5.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fp5.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fp5.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fp5.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fp7.c: In function 'header_check_fp7': ../../src/file_fp7.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fp7.c:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_freeway.o CC file_frm.o ../../src/file_freeway.c: In function 'header_check_freeway': ../../src/file_freeway.c:57:54: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_freeway.c:57:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_freeway.c:57:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_freeway.c:57:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fs.o ../../src/file_frm.c: In function 'header_check_frm': ../../src/file_frm.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_frm.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_frm.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fs.c: In function 'header_check_fs': ../../src/file_fs.c:110:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 110 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fs.c:110:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 110 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fs.c:110:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 110 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fwd.o ../../src/file_fwd.c: In function 'header_check_fwd': ../../src/file_fwd.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fwd.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fwd.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fwd.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gam.o CC file_gct.o ../../src/file_gam.c: In function 'header_check_gam': ../../src/file_gam.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gct.c: In function 'header_check_gct': ../../src/file_gct.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gct.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gct.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gct.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gam.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gam.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gam.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gho.o CC file_gi.o ../../src/file_gho.c: In function 'header_check_ghost': ../../src/file_gho.c:57:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ghost(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gho.c:57:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ghost(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gho.c:57:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ghost(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gi.c: In function 'header_check_gi': ../../src/file_gi.c:64:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gi.c:64:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gi.c:64:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gif.o CC file_gm6.o ../../src/file_gm6.c: In function 'header_check_gm81': ../../src/file_gm6.c:58:51: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gm6.c:58:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gm6.c:58:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gm6.c:58:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gm6.c: In function 'header_check_gmk': ../../src/file_gm6.c:77:50: warning: unused parameter 'buffer' [-Wunused-parameter] 77 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gm6.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gm6.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gm6.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gm6.c: In function 'header_check_gm6': ../../src/file_gm6.c:96:50: warning: unused parameter 'buffer' [-Wunused-parameter] 96 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gm6.c:96:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 96 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gm6.c:96:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 96 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gm6.c:96:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 96 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gm6.c: In function 'header_check_gmd': ../../src/file_gm6.c:115:50: warning: unused parameter 'buffer' [-Wunused-parameter] 115 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gm6.c:115:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 115 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gm6.c:115:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 115 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gm6.c:115:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 115 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gif.c: In function 'header_check_gif': ../../src/file_gif.c:210:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 210 | static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gif.c:210:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 210 | static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gp2.o ../../src/file_gp2.c: In function 'header_check_gp2': ../../src/file_gp2.c:76:50: warning: unused parameter 'buffer' [-Wunused-parameter] 76 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gp2.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gp2.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gp2.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gp5.o CC file_gpg.o ../../src/file_gp5.c: In function 'header_check_gp5': ../../src/file_gp5.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gp5.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gp5.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gpg.c: In function 'header_check_gpg': ../../src/file_gpg.c:538:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 538 | static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gpg.c:538:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 538 | static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gpx.o ../../src/file_gpx.c: In function 'header_check_gpx': ../../src/file_gpx.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gpx.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gpx.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gsm.o ../../src/file_gsm.c: In function 'header_check_gsm': ../../src/file_gsm.c:94:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 94 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gsm.c:94:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 94 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_gz.o ../../src/file_gz.c: In function 'file_check_bgzf': ../../src/file_gz.c:90:46: warning: unused parameter 'file_recovery' [-Wunused-parameter] 90 | static void file_check_bgzf(file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gz.c: In function 'header_check_bgzf': ../../src/file_gz.c:104:115: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | static int header_check_bgzf(const unsigned char *buffer, const unsigned char *buffer_uncompr, const unsigned int buffer_size, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gz.c: In function 'header_check_gz': ../../src/file_gz.c:218:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 218 | d_stream.next_in = (Bytef*)buffer_compr; | ^ ../../src/file_gz.c:149:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 149 | static int header_check_gz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_hdf.o ../../src/file_hdf.c: In function 'header_check_hdf': ../../src/file_hdf.c:152:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 152 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_hdf.c:152:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 152 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_hdf.c:152:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 152 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_hdr.o CC file_hds.o ../../src/file_hdr.c: In function 'header_check_hdr': ../../src/file_hdr.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_hdr.c:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_hdr.c:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_hds.c: In function 'header_check_hds': ../../src/file_hds.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_hds.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_hds.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_hfsp.o CC file_hm.o ../../src/file_hfsp.c: In function 'header_check_hfsp': ../../src/file_hfsp.c:59:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_hfsp.c:59:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_hfsp.c:59:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_hm.c: In function 'header_check_hm': ../../src/file_hm.c:57:49: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_hm.c:57:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_hm.c:57:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_hm.c:57:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_hr9.o CC file_http.o ../../src/file_hr9.c: In function 'header_check_hr9': ../../src/file_hr9.c:72:50: warning: unused parameter 'buffer' [-Wunused-parameter] 72 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_hr9.c:72:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_hr9.c:72:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_hr9.c:72:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_http.c: In function 'header_check_http': ../../src/file_http.c:57:51: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_http.c:57:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_http.c:57:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_http.c:57:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ibd.o CC file_icc.o ../../src/file_icc.c: In function 'header_check_icc': ../../src/file_icc.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_icc.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_icc.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ibd.c: In function 'header_check_ibd': ../../src/file_ibd.c:85:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 85 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ibd.c:85:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 85 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_icns.o CC file_ico.o ../../src/file_icns.c: In function 'header_check_icns': ../../src/file_icns.c:116:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 116 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_icns.c:116:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_icns.c:116:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 116 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ico.c: In function 'header_check_ico': ../../src/file_ico.c:92:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 92 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ico.c:92:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 92 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ifo.o CC file_idx.o ../../src/file_ifo.c: In function 'header_check_ifo': ../../src/file_ifo.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ifo.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ifo.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_idx.c: In function 'header_check_idx': ../../src/file_idx.c:83:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_idx.c:83:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 83 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_imb.o CC file_indd.o ../../src/file_imb.c: In function 'header_check_imb': ../../src/file_imb.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_imb.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_imb.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_imb.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_indd.c: In function 'header_check_indd': ../../src/file_indd.c:152:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 152 | static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_indd.c:152:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 152 | static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_info.o ../../src/file_info.c: In function 'header_check_info': ../../src/file_info.c:57:51: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_info.c:57:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_info.c:57:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_info.c:57:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_iso.o CC file_it.o ../../src/file_iso.c: In function 'header_check_iso': ../../src/file_iso.c:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | static int header_check_iso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_iso.c:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_iso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_it.c: In function 'header_check_it': ../../src/file_it.c:84:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 84 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_it.c:84:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 84 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_it.c:84:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 84 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_itu.o CC file_jks.o ../../src/file_itu.c: In function 'header_check_itunes': ../../src/file_itu.c:57:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_itu.c:57:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_itu.c:57:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_jks.c: In function 'header_check_jks': ../../src/file_jks.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_jks.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_jks.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_jpg.o CC file_jsonlz4.o ../../src/file_jsonlz4.c: In function 'header_check_jsonlz4': ../../src/file_jsonlz4.c:58:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_jsonlz4.c:58:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_jsonlz4.c:58:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_jpg.c: In function 'header_check_jpg': ../../src/file_jpg.c:872:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 872 | static int header_check_jpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_jpg.c: In function 'my_output_message': ../../src/file_jpg.c:1067:45: warning: unused parameter 'cinfo' [-Wunused-parameter] 1067 | static void my_output_message (j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ ../../src/file_jpg.c: In function 'jpg_term_source': ../../src/file_jpg.c:1258:47: warning: unused parameter 'cinfo' [-Wunused-parameter] 1258 | static void jpg_term_source (j_decompress_ptr cinfo) | ~~~~~~~~~~~~~~~~~^~~~~ CC file_kdb.o ../../src/file_jpg.c: In function 'jpg_find_error': ../../src/file_jpg.c:1584:118: warning: unused parameter 'checkpoint_offset' [-Wunused-parameter] 1584 | static uint64_t jpg_find_error(struct jpeg_session_struct *jpeg_session, const unsigned int *offsets, const uint64_t checkpoint_offset) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../src/file_jpg.c: In function 'jpg_check_sof0': ../../src/file_jpg.c:1929:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1929 | if(length < 8+h->nbr*3) | ^ ../../src/file_jpg.c: In function 'jpg_save_thumbnail': ../../src/file_jpg.c:2035:105: warning: unused parameter 'nbytes' [-Wunused-parameter] 2035 | static void jpg_save_thumbnail(const file_recovery_t *file_recovery, const char *buffer, const uint64_t nbytes, const uint64_t thumb_offset, const unsigned int thumb_size) | ~~~~~~~~~~~~~~~^~~~~~ ../../src/file_kdb.c: In function 'header_check_kdb': ../../src/file_kdb.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_kdb.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_kdb.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_kdb.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_kdbx.o ../../src/file_kdbx.c: In function 'header_check_kdbx': ../../src/file_kdbx.c:57:51: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_kdbx.c:57:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_kdbx.c:57:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_kdbx.c:57:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_key.o ../../src/file_key.c: In function 'header_check_key': ../../src/file_key.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_key.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_key.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_key.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ldf.o ../../src/file_ldf.c: In function 'header_check_ldf': ../../src/file_ldf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ldf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ldf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_lit.o ../../src/file_lit.c: In function 'header_check_lit': ../../src/file_lit.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_lit.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_lit.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_lit.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_lnk.o ../../src/file_lnk.c: In function 'header_check_lnk': ../../src/file_lnk.c:235:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 235 | static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_lnk.c:235:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 235 | static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_logic.o ../../src/file_logic.c: In function 'header_check_logic': ../../src/file_logic.c:57:52: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_logic.c:57:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_logic.c:57:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_logic.c:57:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_lso.o ../../src/file_lso.c: In function 'header_check_lso': ../../src/file_lso.c:74:50: warning: unused parameter 'buffer' [-Wunused-parameter] 74 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_lso.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_lso.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_lso.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_luks.o ../../src/file_luks.c: In function 'header_check_luks': ../../src/file_luks.c:60:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_luks.c:60:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_luks.c:60:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_lxo.o ../../src/file_lxo.c: In function 'header_check_lxo': ../../src/file_lxo.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_lxo.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_lxo.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_lzh.o ../../src/file_lzh.c: In function 'header_check_lzh': ../../src/file_lzh.c:129:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 129 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_lzh.c:129:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 129 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_lzh.c:129:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 129 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_lzo.o ../../src/file_lzo.c: In function 'header_check_lzo': ../../src/file_lzo.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_lzo.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_lzo.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_lzo.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_m2ts.o ../../src/file_m2ts.c: In function 'header_check_m2ts': ../../src/file_m2ts.c:158:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 158 | static int header_check_m2ts(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_m2ts.c: In function 'header_check_m2t': ../../src/file_m2ts.c:241:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 241 | static int header_check_m2t(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_mat.o ../../src/file_mat.c: In function 'header_check_mat': ../../src/file_mat.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mat.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mat.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_max.o CC file_mb.o ../../src/file_max.c: In function 'header_check_max': ../../src/file_max.c:59:50: warning: unused parameter 'buffer' [-Wunused-parameter] 59 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_max.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_max.c:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_max.c:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mb.c: In function 'header_check_mb': ../../src/file_mb.c:65:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mb.c:65:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mb.c:65:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mb.c: In function 'header_check_mp': ../../src/file_mb.c:91:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 91 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mb.c:91:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 91 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mb.c:91:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 91 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mcd.o CC file_mdb.o ../../src/file_mcd.c: In function 'header_check_mcd': ../../src/file_mcd.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mcd.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mcd.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mdb.c: In function 'header_check_accdb': ../../src/file_mdb.c:68:52: warning: unused parameter 'buffer' [-Wunused-parameter] 68 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mdb.c:68:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mdb.c:68:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mdb.c:68:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mdb.c: In function 'header_check_mdb': ../../src/file_mdb.c:86:50: warning: unused parameter 'buffer' [-Wunused-parameter] 86 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mdb.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mdb.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mdb.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mdf.o CC file_mdp.o ../../src/file_mdf.c: In function 'header_check_mdf': ../../src/file_mdf.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mdf.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mdf.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mdp.c: In function 'header_check_mdp': ../../src/file_mdp.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_mdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mdp.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_mdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mdp.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_mdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mfa.o CC file_mfg.o ../../src/file_mfa.c: In function 'header_check_mfa': ../../src/file_mfa.c:74:50: warning: unused parameter 'buffer' [-Wunused-parameter] 74 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mfa.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mfa.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mfa.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mfg.c: In function 'header_check_mfg': ../../src/file_mfg.c:77:50: warning: unused parameter 'buffer' [-Wunused-parameter] 77 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mfg.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mfg.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mfg.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mft.o CC file_mid.o ../../src/file_mft.c: In function 'header_check_mft': ../../src/file_mft.c:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mft.c:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mft.c:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mid.c: In function 'header_check_mid': ../../src/file_mid.c:146:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 146 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mid.c:146:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 146 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mid.c:146:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 146 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mig.o ../../src/file_mig.c: In function 'header_check_mig': ../../src/file_mig.c:129:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 129 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mig.c:129:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 129 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mig.c:129:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 129 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mk5.o ../../src/file_mk5.c: In function 'header_check_mk5': ../../src/file_mk5.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_mkv.o ../../src/file_mk5.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mk5.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mlv.o ../../src/file_mkv.c: In function 'header_check_mkv': ../../src/file_mkv.c:188:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 188 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mkv.c:188:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 188 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mlv.c: In function 'header_check_mlv': ../../src/file_mlv.c:196:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 196 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mlv.c:196:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 196 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mlv.c:196:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 196 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mobi.o CC file_mov.o ../../src/file_mobi.c: In function 'header_check_mobi': ../../src/file_mobi.c:84:51: warning: unused parameter 'buffer' [-Wunused-parameter] 84 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mobi.c:84:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 84 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mobi.c:84:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 84 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mobi.c:84:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 84 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mov.c: In function 'header_check_mov_aux': ../../src/file_mov.c:249:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 249 | static int header_check_mov_aux(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_mp3.o ../../src/file_mp3.c: In function 'header_check_id3': ../../src/file_mp3.c:463:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 463 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mp3.c:463:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 463 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mp3.c:463:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 463 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mp3.c: In function 'header_check_mp3': ../../src/file_mp3.c:518:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 518 | static int header_check_mp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_mpg.o ../../src/file_mpg.c: In function 'header_check_mpg_Pack': ../../src/file_mpg.c:222:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 222 | static int header_check_mpg_Pack(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mpg.c: In function 'header_check_mpg_System': ../../src/file_mpg.c:292:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 292 | static int header_check_mpg_System(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mpg.c: In function 'header_check_mpg_Sequence': ../../src/file_mpg.c:338:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 338 | static int header_check_mpg_Sequence(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mpg.c: In function 'header_check_mpg4_ElemVideo': ../../src/file_mpg.c:377:120: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 377 | static int header_check_mpg4_ElemVideo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_mpl.o ../../src/file_mpl.c: In function 'header_check_mpl': ../../src/file_mpl.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mpl.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mpl.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mpl.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mrw.o ../../src/file_mrw.c: In function 'header_check_mrw': ../../src/file_mrw.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mrw.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mrw.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_msa.o CC file_mus.o ../../src/file_msa.c: In function 'header_check_msa': ../../src/file_msa.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_msa.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_msa.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mus.c: In function 'header_check_mus': ../../src/file_mus.c:73:50: warning: unused parameter 'buffer' [-Wunused-parameter] 73 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mus.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mus.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mus.c:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mxf.o CC file_myo.o ../../src/file_mxf.c: In function 'header_check_mxf': ../../src/file_mxf.c:134:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 134 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mxf.c:134:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 134 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mxf.c:134:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 134 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_myo.c: In function 'header_check_myo': ../../src/file_myo.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_myo.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_mysql.o CC file_nd2.o ../../src/file_mysql.c: In function 'header_check_myisam': ../../src/file_mysql.c:60:53: warning: unused parameter 'buffer' [-Wunused-parameter] 60 | static int header_check_myisam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mysql.c:60:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_myisam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mysql.c:60:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_myisam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mysql.c:60:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_myisam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mysql.c: In function 'header_check_mysql': ../../src/file_mysql.c:80:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 80 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mysql.c:80:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mysql.c:80:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_nd2.c: In function 'header_check_nd2': ../../src/file_nd2.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_nd2.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_nd2.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_nds.o CC file_nes.o ../../src/file_nds.c: In function 'header_check_nds': ../../src/file_nds.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_nds.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_nds.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_nes.c: In function 'header_check_nes': ../../src/file_nes.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_nes.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_nes.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_njx.o CC file_nk2.o ../../src/file_njx.c: In function 'header_check_njx': ../../src/file_njx.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_njx.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_njx.c:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_nk2.c: In function 'header_check_nk2': ../../src/file_nk2.c:242:50: warning: unused parameter 'buffer' [-Wunused-parameter] 242 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_nk2.c:242:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 242 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_nk2.c:242:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 242 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_nk2.c:242:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 242 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_nsf.o ../../src/file_nsf.c: In function 'header_check_nsf': ../../src/file_nsf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_nsf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_nsf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_oci.o CC file_ogg.o ../../src/file_oci.c: In function 'header_check_oci': ../../src/file_oci.c:112:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 112 | static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_oci.c:112:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 112 | static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ogg.c: In function 'header_check_ogg': ../../src/file_ogg.c:113:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 113 | static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ogg.c:113:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 113 | static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_one.o CC file_orf.o ../../src/file_one.c: In function 'header_check_one': ../../src/file_one.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_one.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_one.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_orf.c: In function 'header_check_orf_IIRS': ../../src/file_orf.c:58:55: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_orf.c:58:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_orf.c:58:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_orf.c:58:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_paf.o ../../src/file_orf.c: In function 'header_check_orf_IIRO': ../../src/file_orf.c:76:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_orf.c:76:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pap.o ../../src/file_paf.c: In function 'header_check_paf': ../../src/file_paf.c:60:50: warning: unused parameter 'buffer' [-Wunused-parameter] 60 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_paf.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_paf.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_paf.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_par2.o ../../src/file_pap.c: In function 'header_check_pap': ../../src/file_pap.c:58:50: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pap.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pap.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pap.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pcap.o ../../src/file_par2.c: In function 'header_check_par2': ../../src/file_par2.c:136:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 136 | static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_par2.c:136:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 136 | static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pcap.c: In function 'header_check_pcap': ../../src/file_pcap.c:57:51: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pcap.c:57:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pcap.c:57:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pcap.c:57:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pcb.o CC file_pct.o ../../src/file_pcb.c: In function 'header_check_pcb': ../../src/file_pcb.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pcb.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pcb.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pcb.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pcx.o ../../src/file_pct.c: In function 'header_check_pct': ../../src/file_pct.c:113:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 113 | static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pct.c:113:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 113 | static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pcx.c: In function 'header_check_pcx': ../../src/file_pcx.c:91:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 91 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pcx.c:91:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 91 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pcx.c:91:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 91 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pdb.o CC file_pdf.o ../../src/file_pdb.c: In function 'header_check_pdb': ../../src/file_pdb.c:104:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pdb.c:104:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pdb.c:104:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pdf.c: In function 'header_check_pdf': ../../src/file_pdf.c:440:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 440 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pdf.c:440:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 440 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pds.o ../../src/file_pds.c: In function 'header_check_pds': ../../src/file_pds.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pds.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pds.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pds.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pf.o ../../src/file_pf.c: In function 'header_check_pf': ../../src/file_pf.c:109:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 109 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pf.c:109:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 109 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pf.c:109:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 109 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pfx.o ../../src/file_pfx.c: In function 'header_check_pfx': ../../src/file_pfx.c:79:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 79 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pfx.c:79:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 79 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pfx.c:79:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 79 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pgdump.o CC file_plist.o ../../src/file_pgdump.c: In function 'header_check_pgdump': ../../src/file_pgdump.c:109:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 109 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pgdump.c:109:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 109 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pgdump.c:109:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 109 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_plist.c: In function 'header_check_plist': ../../src/file_plist.c:61:52: warning: unused parameter 'buffer' [-Wunused-parameter] 61 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_plist.c:61:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_plist.c:61:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_plr.o CC file_plt.o ../../src/file_plr.c: In function 'header_check_plr': ../../src/file_plr.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_plr.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_plr.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_plr.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_plt.c: In function 'header_check_plt': ../../src/file_plt.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_plt.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_plt.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_plt.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_png.o CC file_pnm.o ../../src/file_png.c: In function 'header_check_jng': ../../src/file_png.c:257:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 257 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_png.c:257:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 257 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_png.c:257:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 257 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_png.c: In function 'header_check_mng': ../../src/file_png.c:289:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 289 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_png.c:289:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 289 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_png.c:289:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 289 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_png.c: In function 'header_check_png': ../../src/file_png.c:321:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 321 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_png.c:321:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 321 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pnm.c: In function 'header_check_pbm': ../../src/file_pnm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pnm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pnm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pnm.c: In function 'header_check_pgm': ../../src/file_pnm.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pnm.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pnm.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pnm.c: In function 'header_check_ppm': ../../src/file_pnm.c:95:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 95 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pnm.c:95:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 95 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pnm.c:95:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 95 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_prc.o ../../src/file_prc.c: In function 'header_check_prc': ../../src/file_prc.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_prc.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_prc.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_prd.o ../../src/file_prd.c: In function 'header_check_prd': ../../src/file_prd.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_prd.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_prd.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_prt.o CC file_ps.o ../../src/file_prt.c: In function 'header_check_prt': ../../src/file_prt.c:74:50: warning: unused parameter 'buffer' [-Wunused-parameter] 74 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_prt.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_prt.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_prt.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ps.c: In function 'file_check_ps': ../../src/file_ps.c:63:36: warning: initializer-string for array chars is too long for C++ [-Wc++-compat] 63 | const unsigned char ps_footer[5]="%%EOF"; | ^~~~~~~ ../../src/file_ps.c: In function 'header_check_ps': ../../src/file_ps.c:124:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 124 | if(i+5 <= buffer_size && memcmp(&buffer[i],"EPSF-",5)==0) | ^~ ../../src/file_ps.c:106:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ps.c:106:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_psb.o ../../src/file_psb.c: In function 'psb_skip_image_data': ../../src/file_psb.c:93:62: warning: unused parameter 'buffer' [-Wunused-parameter] 93 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_psb.c:93:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 93 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_psb.c: In function 'header_check_psb': ../../src/file_psb.c:217:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 217 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_psd.o ../../src/file_psb.c:217:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 217 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_psb.c:217:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 217 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_psd.c: In function 'psd_skip_image_data': ../../src/file_psd.c:83:62: warning: unused parameter 'buffer' [-Wunused-parameter] 83 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_psd.c:83:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_psd.c: In function 'header_check_psd': ../../src/file_psd.c:205:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 205 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_psd.c:205:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 205 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_psd.c:205:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 205 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_psf.o CC file_psp.o ../../src/file_psf.c: In function 'header_check_psf': ../../src/file_psf.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_psf.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_pst.o ../../src/file_psp.c: In function 'header_check_psp': ../../src/file_psp.c:94:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 94 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_psp.c:94:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 94 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_psp.c:94:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 94 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pst.c: In function 'header_check_dbx': ../../src/file_pst.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pst.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pst.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pst.c: In function 'header_check_wab': ../../src/file_pst.c:116:50: warning: unused parameter 'buffer' [-Wunused-parameter] 116 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pst.c:116:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 116 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pst.c:116:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pst.c:116:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 116 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pst.c: In function 'header_check_pst': ../../src/file_pst.c:135:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 135 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pst.c:135:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 135 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pst.c:135:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 135 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ptb.o ../../src/file_ptb.c: In function 'header_check_ptb': ../../src/file_ptb.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ptb.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ptb.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ptf.o CC file_pyc.o ../../src/file_ptf.c: In function 'header_check_ptf': ../../src/file_ptf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ptf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ptf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pyc.c: In function 'header_check_pyc': ../../src/file_pyc.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pyc.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pyc.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pzf.o CC file_pzh.o ../../src/file_pzf.c: In function 'header_check_pzf': ../../src/file_pzf.c:75:50: warning: unused parameter 'buffer' [-Wunused-parameter] 75 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pzf.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pzf.c:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pzf.c:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_qbb.o ../../src/file_pzh.c: In function 'header_check_pzh': ../../src/file_pzh.c:86:50: warning: unused parameter 'buffer' [-Wunused-parameter] 86 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pzh.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pzh.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pzh.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_qbb.c: In function 'header_check_qbb': ../../src/file_qbb.c:126:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 126 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_qbb.c:126:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 126 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_qbb.c: In function 'header_check_qbw': ../../src/file_qbb.c:180:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 180 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_qbb.c:180:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 180 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_qbb.c:180:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 180 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_qbb.c: In function 'header_check_qbw2': ../../src/file_qbb.c:206:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 206 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_qbb.c:206:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 206 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_qbb.c:206:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 206 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_qdf.o ../../src/file_qdf.c: In function 'header_check_qdf': ../../src/file_qdf.c:60:50: warning: unused parameter 'buffer' [-Wunused-parameter] 60 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_qdf.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_qdf.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_qkt.o CC file_qxd.o ../../src/file_qkt.c: In function 'header_check_qkt': ../../src/file_qkt.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_qkt.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_qkt.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_qkt.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_qxd.c: In function 'header_check_qxd': ../../src/file_qxd.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_qxd.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_qxd.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_qxd.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_qxd.c: In function 'header_check_qxp': ../../src/file_qxd.c:76:50: warning: unused parameter 'buffer' [-Wunused-parameter] 76 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_qxd.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_qxd.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_qxd.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_r3d.o CC file_ra.o ../../src/file_r3d.c: In function 'header_check_r3d': ../../src/file_r3d.c:144:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 144 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_r3d.c:144:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 144 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_r3d.c:144:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 144 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_r3d.c: In function 'header_check_r3d_v2': ../../src/file_r3d.c:174:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 174 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_r3d.c:174:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 174 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_r3d.c:174:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 174 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ra.c: In function 'header_check_ra': ../../src/file_ra.c:101:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 101 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ra.c:101:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 101 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ra.c:101:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 101 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_raf.o CC file_rar.o ../../src/file_raf.c: In function 'header_check_raf': ../../src/file_raf.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_raf.c:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_raf.c:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_rar.c: In function 'header_check_rar15fmt': ../../src/file_rar.c:74:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rar.c:74:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rar.c:74:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_rar.c: In function 'header_check_rar50fmt': ../../src/file_rar.c:109:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 109 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rar.c:109:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 109 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rar.c:109:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 109 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_raw.o CC file_rdc.o ../../src/file_raw.c: In function 'header_check_raw': ../../src/file_raw.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_raw.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_raw.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_raw.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_rdc.c: In function 'header_check_rdc': ../../src/file_rdc.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_rdc.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rdc.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rdc.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_reg.o CC file_res.o ../../src/file_reg.c: In function 'header_check_reg_9x': ../../src/file_reg.c:84:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 84 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_reg.c:84:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 84 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_reg.c: In function 'header_check_reg_nt': ../../src/file_reg.c:128:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 128 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_reg.c:128:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 128 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_reg.c:128:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 128 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_res.c: In function 'header_check_res': ../../src/file_res.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_res.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_res.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_res.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rfp.o CC file_riff.o ../../src/file_rfp.c: In function 'header_check_rfp': ../../src/file_rfp.c:55:55: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | @*/static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_rfp.c:55:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | @*/static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rfp.c:55:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | @*/static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rfp.c:55:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | @*/static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_riff.c: In function 'header_check_riff': ../../src/file_riff.c:293:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 293 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_riff.c:293:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 293 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_riff.c: In function 'header_check_rifx': ../../src/file_riff.c:404:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 404 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_riff.c:404:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 404 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_riff.c:404:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 404 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rlv.o ../../src/file_rlv.c: In function 'header_check_rlv': ../../src/file_rlv.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rlv.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rlv.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rm.o ../../src/file_rm.c: In function 'header_check_rm': ../../src/file_rm.c:66:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rm.c:66:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rm.c:66:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rns.o CC file_rpm.o ../../src/file_rns.c: In function 'header_check_rns': ../../src/file_rns.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_rns.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rns.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rns.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rw2.o ../../src/file_rpm.c: In function 'header_check_rpm': ../../src/file_rpm.c:88:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 88 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rpm.c:88:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 88 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rpm.c:88:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 88 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_rw2.c: In function 'header_check_rw2': ../../src/file_rw2.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rw2.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rx2.o CC file_save.o ../../src/file_rx2.c: In function 'header_check_rx2': ../../src/file_rx2.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rx2.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rx2.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_save.c: In function 'header_check_save': ../../src/file_save.c:56:51: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_save.c:56:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_save.c:56:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_save.c:56:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sdsk.o CC file_ses.o ../../src/file_sdsk.c: In function 'header_check_sdsk': ../../src/file_sdsk.c:56:51: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_sdsk.c:56:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sdsk.c:56:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sdsk.c:56:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ses.c: In function 'header_check_ses': ../../src/file_ses.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_ses.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ses.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ses.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sgcta.o CC file_shn.o ../../src/file_sgcta.c: In function 'header_check_sgcta': ../../src/file_sgcta.c:56:52: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_sgcta.c:56:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sgcta.c:56:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sgcta.c:56:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_shn.c: In function 'header_check_shn': ../../src/file_shn.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_shn.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_shn.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_shn.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sib.o CC file_sig.o ../../src/file_sib.c: In function 'header_check_sib': ../../src/file_sib.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_sib.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sib.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sib.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sit.o ../../src/file_sig.c: In function 'header_check_sig': ../../src/file_sig.c:119:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 119 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sig.c:119:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 119 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sig.c:119:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 119 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from ../../src/file_sig.c:39: ../../src/file_sig.c: In function 'parse_signature_file': ../../src/file_sig.c:244:31: warning: array subscript has type 'char' [-Wchar-subscripts] 244 | while(*pos!='\0' && !isspace(*pos)) | ^~~~ ../../src/file_sig.c:253:21: warning: array subscript has type 'char' [-Wchar-subscripts] 253 | while(isspace(*pos)) | ^~~~ ../../src/file_sig.c:273:13: warning: array subscript has type 'char' [-Wchar-subscripts] 273 | if(isspace(*pos) || *pos=='\r' || *pos==',') | ^~~~ ../../src/file_sig.c:373:19: warning: array subscript has type 'char' [-Wchar-subscripts] 373 | while(isxdigit(*pos) && isxdigit(*(pos+1))) | ^~~~ ../../src/file_sig.c:373:37: warning: array subscript has type 'char' [-Wchar-subscripts] 373 | while(isxdigit(*pos) && isxdigit(*(pos+1))) | ^~~~~~~~ ../../src/file_sit.c: In function 'header_check_sit': ../../src/file_sit.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_sit.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sit.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sit.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_skd.o ../../src/file_skd.c: In function 'header_check_skd': ../../src/file_skd.c:55:50: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_skd.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_skd.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_skd.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_skp.o ../../src/file_skp.c: In function 'header_check_skp': ../../src/file_skp.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_skp.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_skp.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_skp.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_snag.o ../../src/file_snag.c: In function 'header_check_snag': ../../src/file_snag.c:70:51: warning: unused parameter 'buffer' [-Wunused-parameter] 70 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_snag.c:70:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_snag.c:70:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_snag.c:70:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sp3.o CC file_spe.o ../../src/file_sp3.c: In function 'header_check_sp3': ../../src/file_sp3.c:134:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 134 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sp3.c:134:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 134 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sp3.c:134:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 134 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_spe.c: In function 'header_check_spe': ../../src/file_spe.c:287:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 287 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_spe.c:287:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 287 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_spf.o ../../src/file_spf.c: In function 'header_check_spf': ../../src/file_spf.c:114:50: warning: unused parameter 'buffer' [-Wunused-parameter] 114 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_spf.c:114:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 114 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_spf.c:114:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 114 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_spf.c:114:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 114 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_spss.o CC file_sql.o ../../src/file_spss.c: In function 'header_check_spss': ../../src/file_spss.c:57:51: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_spss.c:57:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_spss.c:57:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_spss.c:57:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_sql.c: In function 'header_check_sqlite': ../../src/file_sql.c:86:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sql.c:86:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sql.c:86:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sqm.o CC file_steuer2014.o ../../src/file_sqm.c: In function 'header_check_sqm': ../../src/file_sqm.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_sqm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sqm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sqm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_steuer2014.c: In function 'header_check_steuer': ../../src/file_steuer2014.c:78:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 78 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_steuer2014.c:78:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 78 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_steuer2014.c:78:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 78 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_stl.o CC file_stu.o ../../src/file_stl.c: In function 'header_check_stl': ../../src/file_stl.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_stl.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_stl.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_stu.c: In function 'header_check_stuffit': ../../src/file_stu.c:58:54: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_stu.c:58:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_stu.c:58:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_stu.c:58:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_studio.o CC file_swf.o ../../src/file_studio.c: In function 'header_check_studio': ../../src/file_studio.c:65:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_studio.c:65:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_studio.c:65:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_swf.c: In function 'header_check_swfc': ../../src/file_swf.c:163:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 163 | d_stream.next_in = (Bytef*)buffer_compr; | ^ ../../src/file_swf.c:138:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 138 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_swf.c:138:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 138 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_swf.c: In function 'header_check_swf': ../../src/file_swf.c:230:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 230 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_swf.c:230:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 230 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_swf.c:230:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 230 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_swf.c: In function 'header_check_swfz': ../../src/file_swf.c:283:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 283 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_swf.c:283:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 283 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_swf.c:283:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 283 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tar.o ../../src/file_tar.c: In function 'header_check_tar': ../../src/file_tar.c:119:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 119 | static int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tar.c:119:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 119 | static int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_tax.o CC file_tg.o ../../src/file_tg.c: In function 'header_check_tg': ../../src/file_tg.c:57:49: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_tg.c:57:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tg.c:57:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tg.c:57:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_tax.c: In function 'header_check_tax': ../../src/file_tax.c:58:50: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_tax.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tax.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tax.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tib.o CC file_tiff.o ../../src/file_tib.c: In function 'header_check_tib': ../../src/file_tib.c:145:50: warning: unused parameter 'buffer' [-Wunused-parameter] 145 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_tib.c:145:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 145 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tib.c:145:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 145 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tib.c:145:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 145 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_tib.c: In function 'header_check_tib2': ../../src/file_tib.c:163:51: warning: unused parameter 'buffer' [-Wunused-parameter] 163 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_tib.c:163:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 163 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tib.c:163:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 163 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tib.c:163:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 163 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tiff_be.o CC file_tiff_le.o ../../src/file_tiff_be.c: In function 'header_check_tiff_be': ../../src/file_tiff_be.c:777:106: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 777 | int header_check_tiff_be(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tiff_le.c: In function 'header_check_tiff_le': ../../src/file_tiff_le.c:776:106: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 776 | int header_check_tiff_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_tivo.o CC file_torrent.o ../../src/file_tivo.c: In function 'header_check_tivo': ../../src/file_tivo.c:74:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tivo.c:74:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tivo.c:74:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_torrent.c: In function 'header_check_torrent': ../../src/file_torrent.c:57:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_torrent.c:57:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_torrent.c:57:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tph.o CC file_tpl.o ../../src/file_tph.c: In function 'header_check_tph': ../../src/file_tph.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tph.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tph.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_tpl.c: In function 'header_check_tpl': ../../src/file_tpl.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_tpl.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tpl.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tpl.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ttf.o CC file_txt.o ../../src/file_ttf.c: In function 'header_check_ttf': ../../src/file_ttf.c:109:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 109 | if((16<cmd_run[0])) | ~~~~~~~~~~~~~~~^~~ CC phnc.o CC phrecn.o CC ppartseln.o CC psearchn.o CC suspend_no.o ../../src/suspend_no.c: In function 'suspend_memory': ../../src/suspend_no.c:17:34: warning: unused parameter 'cinfo' [-Wunused-parameter] 17 | void suspend_memory(j_common_ptr cinfo) { | ~~~~~~~~~~~~~^~~~~ ../../src/suspend_no.c: In function 'resume_memory': ../../src/suspend_no.c:20:32: warning: unused parameter 'cinfo' [-Wunused-parameter] 20 | int resume_memory(j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ /usr/bin/i686-pc-cygwin-windres --include-dir ../../src ../../src/icon_ph.rc icon_ph.o CC fidentify.o CCLD testdisk.exe CCLD photorec.exe CCLD fidentify.exe make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/src' make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' make[1]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' make: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' + make -C build_64bit -j2 make: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' make all-recursive make[1]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' Making all in icons make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/icons' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/icons' Making all in man make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man' Making all in zh_CN make[3]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man/zh_CN' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man/zh_CN' make[3]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man' make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man' Making all in src make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/src' CC common.o CC crc.o In file included from ../../src/common.c:35: ../../src/common.c: In function 'strip_dup': ../../src/common.c:233:17: warning: array subscript has type 'char' [-Wchar-subscripts] 233 | while(isspace(*str)) | ^~~~ ../../src/common.c:240:22: warning: array subscript has type 'char' [-Wchar-subscripts] 240 | if (!isspace (str[i])) | ~~~^~~ CC ext2_common.o CC fat_common.o CC log.o CC misc.o CC setdate.o CC autoset.o CC ewf.o ../../src/ewf.c: In function 'fewf_sync': ../../src/ewf.c:501:30: warning: unused parameter 'disk' [-Wunused-parameter] 501 | static int fewf_sync(disk_t *disk) | ~~~~~~~~^~~~ ../../src/ewf.c: In function 'fewf_nopwrite': ../../src/ewf.c:581:52: warning: unused parameter 'buffer' [-Wunused-parameter] 581 | static int fewf_nopwrite(disk_t *disk, const void *buffer, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~~~~ CC fnctdsk.o CC hdaccess.o In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c: In function 'get_os': ../../src/misc.c:91:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 91 | snprintf(buffer, sizeof(buffer) - 1, "Windows 95 or NT 4.0 (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:91:64: note: format string is defined here 91 | snprintf(buffer, sizeof(buffer) - 1, "Windows 95 or NT 4.0 (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:101:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 101 | snprintf(buffer, sizeof(buffer) - 1, "Windows 98 (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:101:54: note: format string is defined here 101 | snprintf(buffer, sizeof(buffer) - 1, "Windows 98 (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:108:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 108 | snprintf(buffer, sizeof(buffer) - 1, "Windows ME (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:108:54: note: format string is defined here 108 | snprintf(buffer, sizeof(buffer) - 1, "Windows ME (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:115:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 115 | snprintf(buffer, sizeof(buffer) - 1, "Windows 2000 (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:115:56: note: format string is defined here 115 | snprintf(buffer, sizeof(buffer) - 1, "Windows 2000 (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:133:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 133 | snprintf(buffer, sizeof(buffer) - 1, "Windows XP (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:133:54: note: format string is defined here 133 | snprintf(buffer, sizeof(buffer) - 1, "Windows XP (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:137:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 137 | snprintf(buffer, sizeof(buffer) - 1, "Windows 2003 (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:137:61: note: format string is defined here 137 | snprintf(buffer, sizeof(buffer) - 1, "Windows 2003 (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:142:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 142 | snprintf(buffer, sizeof(buffer) - 1, "Windows Vista (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:142:58: note: format string is defined here 142 | snprintf(buffer, sizeof(buffer) - 1, "Windows Vista (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:144:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 144 | snprintf(buffer, sizeof(buffer) - 1, "Windows Server 2008 (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:144:64: note: format string is defined here 144 | snprintf(buffer, sizeof(buffer) - 1, "Windows Server 2008 (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:149:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 149 | snprintf(buffer, sizeof(buffer) - 1, "Windows 7 (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:149:53: note: format string is defined here 149 | snprintf(buffer, sizeof(buffer) - 1, "Windows 7 (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:151:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 151 | snprintf(buffer, sizeof(buffer) - 1, "Windows Server 2008 R2 (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:151:66: note: format string is defined here 151 | snprintf(buffer, sizeof(buffer) - 1, "Windows Server 2008 R2 (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:156:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 156 | snprintf(buffer, sizeof(buffer) - 1, "Windows 8 (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:156:53: note: format string is defined here 156 | snprintf(buffer, sizeof(buffer) - 1, "Windows 8 (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:158:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 158 | snprintf(buffer, sizeof(buffer) - 1, "Windows Server 2012 (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:158:63: note: format string is defined here 158 | snprintf(buffer, sizeof(buffer) - 1, "Windows Server 2012 (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:163:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 163 | snprintf(buffer, sizeof(buffer) - 1, "Windows 8.1 (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:163:55: note: format string is defined here 163 | snprintf(buffer, sizeof(buffer) - 1, "Windows 8.1 (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:165:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 165 | snprintf(buffer, sizeof(buffer) - 1, "Windows Server 2012 R2 (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:165:66: note: format string is defined here 165 | snprintf(buffer, sizeof(buffer) - 1, "Windows Server 2012 R2 (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:170:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 170 | snprintf(buffer, sizeof(buffer) - 1, "Windows 10 (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:170:54: note: format string is defined here 170 | snprintf(buffer, sizeof(buffer) - 1, "Windows 10 (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u In file included from /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:800, from ../../src/misc.c:36: ../../src/misc.c:172:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 172 | snprintf(buffer, sizeof(buffer) - 1, "Windows Server 2016 (%lu)", Ver.dwBuildNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | DWORD {aka unsigned int} ../../src/misc.c:172:63: note: format string is defined here 172 | snprintf(buffer, sizeof(buffer) - 1, "Windows Server 2016 (%lu)", Ver.dwBuildNumber); | ~~^ | | | long unsigned int | %u CC hdcache.o ../../src/hdaccess.c: In function 'disk_get_sector_size': ../../src/hdaccess.c:588:12: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] 588 | handle=(HANDLE)get_osfhandle(hd_h); | ^ ../../src/hdaccess.c: In function 'disk_get_geometry': ../../src/hdaccess.c:733:12: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] 733 | handle=(HANDLE)get_osfhandle(hd_h); | ^ ../../src/hdaccess.c: In function 'disk_get_size': ../../src/hdaccess.c:836:12: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] 836 | handle=(HANDLE)get_osfhandle(hd_h); | ^ ../../src/hdaccess.c: In function 'disk_get_model': ../../src/hdaccess.c:1086:12: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] 1086 | handle=(HANDLE)get_osfhandle(hd_h); | ^ ../../src/hdaccess.c: In function 'file_pread_aux': ../../src/hdaccess.c:1224:19: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] 1224 | HANDLE handle=(HANDLE)get_osfhandle(fd); | ^ ../../src/hdaccess.c: In function 'file_nopwrite': ../../src/hdaccess.c:1368:56: warning: unused parameter 'buf' [-Wunused-parameter] 1368 | static int file_nopwrite(disk_t *disk_car, const void *buf, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~ At top level: ../../src/hdaccess.c:230:21: warning: 'hd_glob_parse' defined but not used [-Wunused-function] 230 | static list_disk_t *hd_glob_parse(const char *device_pattern, list_disk_t *list_disk, const int verbose, const int testdisk_mode) | ^~~~~~~~~~~~~ CC hdwin32.o CC hidden.o CC hpa_dco.o ../../src/hpa_dco.c: In function 'disk_get_hpa_dco': ../../src/hpa_dco.c:355:33: warning: unused parameter 'fd' [-Wunused-parameter] 355 | void disk_get_hpa_dco(const int fd, disk_t *disk) | ~~~~~~~~~~^~ ../../src/hpa_dco.c:355:45: warning: unused parameter 'disk' [-Wunused-parameter] 355 | void disk_get_hpa_dco(const int fd, disk_t *disk) | ~~~~~~~~^~~~ CC intrf.o CC iso.o CC list_sort.o CC log_part.o CC msdos.o CC parti386.o CC partgpt.o ../../src/parti386.c: In function 'init_part_order_i386': ../../src/parti386.c:499:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 499 | static list_part_t *init_part_order_i386(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partgpt.c: In function 'init_part_order_gpt': ../../src/partgpt.c:381:55: warning: unused parameter 'disk_car' [-Wunused-parameter] 381 | static list_part_t *init_part_order_gpt(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partgpt.c: In function 'set_next_status_gpt': ../../src/partgpt.c:455:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 455 | static void set_next_status_gpt(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partgpt.c: In function 'init_structure_gpt': ../../src/partgpt.c:478:46: warning: unused parameter 'disk_car' [-Wunused-parameter] 478 | static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partgpt.c:478:89: warning: unused parameter 'verbose' [-Wunused-parameter] 478 | static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ CC parthumax.o ../../src/parthumax.c: In function 'read_part_humax': ../../src/parthumax.c:156:65: warning: unused parameter 'verbose' [-Wunused-parameter] 156 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~ ../../src/parthumax.c:156:84: warning: unused parameter 'saveheader' [-Wunused-parameter] 156 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ ../../src/parthumax.c: In function 'write_part_humax': ../../src/parthumax.c:206:37: warning: unused parameter 'disk_car' [-Wunused-parameter] 206 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ ../../src/parthumax.c:206:66: warning: unused parameter 'list_part' [-Wunused-parameter] 206 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/parthumax.c:206:101: warning: unused parameter 'verbose' [-Wunused-parameter] 206 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/parthumax.c: In function 'init_part_order_humax': ../../src/parthumax.c:214:57: warning: unused parameter 'disk_car' [-Wunused-parameter] 214 | static list_part_t *init_part_order_humax(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/parthumax.c: In function 'set_next_status_humax': ../../src/parthumax.c:283:49: warning: unused parameter 'disk_car' [-Wunused-parameter] 283 | static void set_next_status_humax(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/parthumax.c: In function 'init_structure_humax': ../../src/parthumax.c:311:48: warning: unused parameter 'disk_car' [-Wunused-parameter] 311 | static void init_structure_humax(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/parthumax.c:311:91: warning: unused parameter 'verbose' [-Wunused-parameter] 311 | static void init_structure_humax(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/parthumax.c: In function 'get_partition_typename_humax': ../../src/parthumax.c:345:68: warning: unused parameter 'partition' [-Wunused-parameter] 345 | static const char *get_partition_typename_humax(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ CC partmac.o ../../src/partmac.c: In function 'write_part_mac': ../../src/partmac.c:259:35: warning: unused parameter 'disk_car' [-Wunused-parameter] 259 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ ../../src/partmac.c:259:64: warning: unused parameter 'list_part' [-Wunused-parameter] 259 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/partmac.c:259:99: warning: unused parameter 'verbose' [-Wunused-parameter] 259 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/partmac.c: In function 'init_part_order_mac': ../../src/partmac.c:267:55: warning: unused parameter 'disk_car' [-Wunused-parameter] 267 | static list_part_t *init_part_order_mac(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partmac.c: In function 'set_next_status_mac': ../../src/partmac.c:331:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 331 | static void set_next_status_mac(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partmac.c: In function 'init_structure_mac': ../../src/partmac.c:364:46: warning: unused parameter 'disk_car' [-Wunused-parameter] 364 | static void init_structure_mac(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partmac.c:364:89: warning: unused parameter 'verbose' [-Wunused-parameter] 364 | static void init_structure_mac(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ CC partsun.o ../../src/partsun.c: In function 'write_part_sun': ../../src/partsun.c:244:35: warning: unused parameter 'disk_car' [-Wunused-parameter] 244 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ ../../src/partsun.c:244:64: warning: unused parameter 'list_part' [-Wunused-parameter] 244 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/partsun.c:244:99: warning: unused parameter 'verbose' [-Wunused-parameter] 244 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/partsun.c: In function 'set_next_status_sun': ../../src/partsun.c:336:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 336 | static void set_next_status_sun(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partsun.c: In function 'init_structure_sun': ../../src/partsun.c:368:46: warning: unused parameter 'disk_car' [-Wunused-parameter] 368 | static void init_structure_sun(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partsun.c:368:89: warning: unused parameter 'verbose' [-Wunused-parameter] 368 | static void init_structure_sun(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ CC partnone.o ../../src/partnone.c: In function 'get_geometry_from_nonembr': ../../src/partnone.c:230:77: warning: unused parameter 'verbose' [-Wunused-parameter] 230 | static int get_geometry_from_nonembr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry) | ~~~~~~~~~~^~~~~~~ ../../src/partnone.c: In function 'init_part_order_none': ../../src/partnone.c:360:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 360 | static list_part_t *init_part_order_none(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partnone.c: In function 'set_next_status_none': ../../src/partnone.c:366:48: warning: unused parameter 'disk_car' [-Wunused-parameter] 366 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partnone.c:366:71: warning: unused parameter 'partition' [-Wunused-parameter] 366 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~^~~~~~~~~ ../../src/partnone.c: In function 'test_structure_none': ../../src/partnone.c:370:51: warning: unused parameter 'list_part' [-Wunused-parameter] 370 | static int test_structure_none(const list_part_t *list_part) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/partnone.c: In function 'is_part_known_none': ../../src/partnone.c:381:50: warning: unused parameter 'partition' [-Wunused-parameter] 381 | static int is_part_known_none(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/partnone.c: In function 'init_structure_none': ../../src/partnone.c:386:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 386 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partnone.c:386:90: warning: unused parameter 'verbose' [-Wunused-parameter] 386 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/partnone.c: In function 'check_part_none': ../../src/partnone.c:395:97: warning: unused parameter 'saveheader' [-Wunused-parameter] 395 | static int check_part_none(disk_t *disk_car,const int verbose,partition_t *partition, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ CC partxbox.o ../../src/partxbox.c: In function 'write_part_xbox': ../../src/partxbox.c:196:36: warning: unused parameter 'disk_car' [-Wunused-parameter] 196 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ ../../src/partxbox.c:196:65: warning: unused parameter 'list_part' [-Wunused-parameter] 196 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/partxbox.c:196:100: warning: unused parameter 'verbose' [-Wunused-parameter] 196 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/partxbox.c: In function 'init_part_order_xbox': ../../src/partxbox.c:204:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 204 | static list_part_t *init_part_order_xbox(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partxbox.c: In function 'set_next_status_xbox': ../../src/partxbox.c:269:48: warning: unused parameter 'disk_car' [-Wunused-parameter] 269 | static void set_next_status_xbox(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partxbox.c: In function 'init_structure_xbox': ../../src/partxbox.c:302:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 302 | static void init_structure_xbox(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partxbox.c:302:90: warning: unused parameter 'verbose' [-Wunused-parameter] 302 | static void init_structure_xbox(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ CC io_redir.o CC ntfs_io.o CC ntfs_utl.o ../../src/ntfs_io.c: In function 'ntfs_device_testdisk_io_stat': ../../src/ntfs_io.c:153:61: warning: unused parameter 'dev' [-Wunused-parameter] 153 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~~~~~~~~^~~ ../../src/ntfs_io.c:153:79: warning: unused parameter 'buf' [-Wunused-parameter] 153 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~^~~ ../../src/ntfs_io.c: In function 'ntfs_device_testdisk_io_ioctl': ../../src/ntfs_io.c:162:62: warning: unused parameter 'dev' [-Wunused-parameter] 162 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, | ~~~~~~~~~~~~~~~~~~~~^~~ ../../src/ntfs_io.c:162:71: warning: unused parameter 'request' [-Wunused-parameter] 162 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, | ~~~~^~~~~~~ ../../src/ntfs_io.c:163:9: warning: unused parameter 'argp' [-Wunused-parameter] 163 | void *argp) | ~~~~~~^~~~ CC partauto.o CC sudo.o CC unicode.o CC win32.o CC analyse.o CC bfs.o CC bsd.o CC btrfs.o CC cramfs.o CC exfat.o CC ext2.o CC fat.o ../../src/win32.c: In function 'disk_get_sector_size_win32': ../../src/win32.c:69:68: warning: unused parameter 'device' [-Wunused-parameter] 69 | unsigned int disk_get_sector_size_win32(HANDLE handle, const char *device, const int verbose) | ~~~~~~~~~~~~^~~~~~ ../../src/win32.c:69:86: warning: unused parameter 'verbose' [-Wunused-parameter] 69 | unsigned int disk_get_sector_size_win32(HANDLE handle, const char *device, const int verbose) | ~~~~~~~~~~^~~~~~~ In file included from ../../src/win32.c:50: ../../src/win32.c: In function 'file_win32_pread_aux': ../../src/win32.c:446:77: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 446 | log_error("file_win32_pread(%d,%u,buffer,%lu(%u/%u/%u)) seek err %s\n", (int)fd, | ^ ../../src/log.h:77:74: note: in definition of macro 'log_error' 77 | #define log_error(FORMAT, ARGS...) log_redirect(LOG_LEVEL_ERROR,FORMAT,##ARGS) | ^~~~ ../../src/win32.c:463:76: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 463 | log_error("file_win32_pread(%d,%u,buffer,%lu(%u/%u/%u)) read err: ", (int)fd, | ^ ../../src/log.h:77:74: note: in definition of macro 'log_error' 77 | #define log_error(FORMAT, ARGS...) log_redirect(LOG_LEVEL_ERROR,FORMAT,##ARGS) | ^~~~ ../../src/win32.c: In function 'file_win32_pwrite_aux': ../../src/win32.c:516:78: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 516 | log_error("file_win32_pwrite(%d,%u,buffer,%lu(%u/%u/%u)) seek err %s\n", (int)fd, | ^ ../../src/log.h:77:74: note: in definition of macro 'log_error' 77 | #define log_error(FORMAT, ARGS...) log_redirect(LOG_LEVEL_ERROR,FORMAT,##ARGS) | ^~~~ ../../src/win32.c:532:76: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 532 | log_error("file_win32_pwrite(%u,%u,buffer,%lu(%u/%u/%u)) write err\n", (int)fd, | ^ ../../src/log.h:77:74: note: in definition of macro 'log_error' 77 | #define log_error(FORMAT, ARGS...) log_redirect(LOG_LEVEL_ERROR,FORMAT,##ARGS) | ^~~~ ../../src/win32.c: In function 'file_win32_nopwrite': ../../src/win32.c:547:82: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 547 | log_warning("file_win32_nopwrite(%d,%u,buffer,%lu(%u/%u/%u)) write refused\n", (unsigned int)data->handle, | ^ ../../src/log.h:76:78: note: in definition of macro 'log_warning' 76 | #define log_warning(FORMAT, ARGS...) log_redirect(LOG_LEVEL_WARNING,FORMAT,##ARGS) | ^~~~ ../../src/win32.c:544:62: warning: unused parameter 'buf' [-Wunused-parameter] 544 | static int file_win32_nopwrite(disk_t *disk_car, const void *buf, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~ CC fatx.o CC f2fs.o ../../src/f2fs.c: In function 'recover_f2fs': ../../src/f2fs.c:90:32: warning: unused parameter 'disk' [-Wunused-parameter] 90 | int recover_f2fs(const disk_t *disk, const struct f2fs_super_block *hdr, partition_t *partition) | ~~~~~~~~~~~~~~^~~~ CC jfs.o CC gfs2.o CC hfs.o CC hfsp.o CC hpfs.o CC luks.o CC lvm.o CC md.o CC netware.o CC ntfs.o CC refs.o CC rfs.o CC savehdr.o CC sun.o CC swap.o CC sysv.o CC ufs.o CC vmfs.o CC wbfs.o CC xfs.o CC zfs.o CC addpart.o CC addpartn.o CC adv.o CC askloc.o In file included from ../../src/adv.c:36: ../../src/adv.c: In function 'adv_string_to_command': ../../src/adv.c:244:21: warning: array subscript has type 'char' [-Wchar-subscripts] 244 | else if(isdigit(*current_cmd[0])) | ^~~~~~~~~~~~~~~ ../../src/askloc.c: In function 'ask_location': ../../src/askloc.c:319:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 319 | line_directory=aff_txt(2, window, msg, src_dir); | ^~~~~~~~~~~~~~ CC chgarch.o CC chgarchn.o CC chgtype.o CC chgtypen.o CC dimage.o CC dirn.o CC dirpart.o CC diskacc.o CC diskcapa.o CC edit.o CC ext2_sb.o CC ext2_sbn.o CC fat1x.o CC fat32.o CC fat_adv.o ../../src/fat_adv.c: In function 'file2entry': ../../src/fat_adv.c:626:44: warning: taking address of packed member of 'struct msdos_dir_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 626 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); | ^~~~~~~~~ ../../src/fat_adv.c:626:54: warning: taking address of packed member of 'struct msdos_dir_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 626 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); | ^~~~~~~~~ CC fat_cluster.o CC fatn.o CC geometry.o CC geometryn.o CC godmode.o CC hiddenn.o CC intrface.o CC intrfn.o CC nodisk.o CC ntfs_adv.o ../../src/ntfs_adv.c: In function 'create_ntfs_boot_sector': ../../src/ntfs_adv.c:295:40: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 295 | mft_record_size / cluster_size : -(testdisk_ffs(mft_record_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/ntfs_adv.c:297:41: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 297 | index_block_size / cluster_size : -(testdisk_ffs(index_block_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC ntfs_fix.o CC ntfs_udl.o ../../src/ntfs_udl.c: In function 'get_parent_name': ../../src/ntfs_udl.c:310:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 310 | if (ntfs_ucstombs(filename_attr->file_name, | ~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/ntfs_udl.c: In function 'get_filenames': ../../src/ntfs_udl.c:399:22: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 399 | name->uname = attr->file_name; | ^~~~ ../../src/ntfs_udl.c: In function 'scan_disk': ../../src/ntfs_udl.c:1126:24: warning: argument 1 of 'ntfs_log_set_handler' might be a candidate for a format attribute [-Wsuggest-attribute=format] 1126 | ntfs_log_set_handler(ntfs_log_handler_stderr); | ^~~~~~~~~~~~~~~~~~~~~~~ CC parti386n.o CC partgptn.o CC partmacn.o CC partsunn.o CC partxboxn.o CC tanalyse.o CC tbanner.o CC tdelete.o CC tdiskop.o CC tdisksel.o CC testdisk.o CC texfat.o CC thfs.o CC tload.o CC tlog.o CC tmbrcode.o CC tntfs.o CC toptions.o CC tpartwr.o CC dir.o ../../src/dir.c: In function 'set_mode': ../../src/dir.c:475:26: warning: unused parameter 'pathname' [-Wunused-parameter] 475 | int set_mode(const char *pathname, unsigned int mode) | ~~~~~~~~~~~~^~~~~~~~ ../../src/dir.c:475:49: warning: unused parameter 'mode' [-Wunused-parameter] 475 | int set_mode(const char *pathname, unsigned int mode) | ~~~~~~~~~~~~~^~~~ At top level: ../../src/dir.c:453:15: warning: 'mode_xlate' defined but not used [-Wunused-function] 453 | static mode_t mode_xlate(unsigned int lmode) | ^~~~~~~~~~ CC exfat_dir.o ../../src/exfat_dir.c: In function 'exfat_ucstoutf8': ../../src/exfat_dir.c:93:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 93 | if (iconv(cd, (char **)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ CC ext2_dir.o CC fat_dir.o ../../src/fat_dir.c: In function 'dir_fat_aux': ../../src/fat_dir.c:101:24: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 101 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ ../../src/fat_dir.c:108:26: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 108 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ ../../src/fat_dir.c:125:26: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 125 | ds = (const struct msdos_dir_slot *) de_initial; | ^~~~~~~~~~~~~~ ../../src/fat_dir.c:159:24: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 159 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ ../../src/fat_dir.c:190:21: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 190 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ ../../src/ext2_dir.c: In function 'alloc_io_channel': ../../src/ext2_dir.c:112:50: warning: unused parameter 'disk_car' [-Wunused-parameter] 112 | static io_channel alloc_io_channel(const disk_t *disk_car,my_data_t *my_data) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/ext2_dir.c: In function 'my_open': ../../src/ext2_dir.c:139:38: warning: unused parameter 'dev' [-Wunused-parameter] 139 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~~~~~~~~~^~~ ../../src/ext2_dir.c:139:47: warning: unused parameter 'flags' [-Wunused-parameter] 139 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~^~~~~ ../../src/ext2_dir.c: In function 'my_flush': ../../src/ext2_dir.c:213:38: warning: unused parameter 'channel' [-Wunused-parameter] 213 | static errcode_t my_flush(io_channel channel) | ~~~~~~~~~~~^~~~~~~ ../../src/ext2_dir.c: In function 'list_dir_proc2': ../../src/ext2_dir.c:218:38: warning: unused parameter 'dir' [-Wunused-parameter] 218 | static int list_dir_proc2(ext2_ino_t dir, | ~~~~~~~~~~~^~~ ../../src/ext2_dir.c:221:9: warning: unused parameter 'offset' [-Wunused-parameter] 221 | int offset, | ~~~~^~~~~~ ../../src/ext2_dir.c:222:9: warning: unused parameter 'blocksize' [-Wunused-parameter] 222 | int blocksize, | ~~~~^~~~~~~~~ ../../src/ext2_dir.c:223:11: warning: unused parameter 'buf' [-Wunused-parameter] 223 | char *buf, | ~~~~~~^~~ ../../src/ext2_dir.c: In function 'ext2_dir': ../../src/ext2_dir.c:271:29: warning: unused parameter 'disk_car' [-Wunused-parameter] 271 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ../../src/ext2_dir.c:271:58: warning: unused parameter 'partition' [-Wunused-parameter] 271 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/ext2_dir.c: In function 'ext2_copy': ../../src/ext2_dir.c:292:30: warning: unused parameter 'disk_car' [-Wunused-parameter] 292 | static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ../../src/ext2_dir.c:292:59: warning: unused parameter 'partition' [-Wunused-parameter] 292 | static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ CC ntfs_dir.o ../../src/ntfs_dir.c: In function 'ntfs_ucstoutf8': ../../src/ntfs_dir.c:157:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 157 | if (iconv(cd, (char**)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ ../../src/ntfs_dir.c: In function 'ntfs_td_list_entry': ../../src/ntfs_dir.c:173:54: warning: unused parameter 'pos' [-Wunused-parameter] 173 | const int name_len, const int name_type, const s64 pos, | ~~~~~~~~~~^~~ ../../src/ntfs_dir.c: In function 'ntfs_dir': ../../src/ntfs_dir.c:305:29: warning: unused parameter 'disk_car' [-Wunused-parameter] 305 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ../../src/ntfs_dir.c:305:58: warning: unused parameter 'partition' [-Wunused-parameter] 305 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/ntfs_dir.c: In function 'ntfs_copy': ../../src/ntfs_dir.c:340:30: warning: unused parameter 'disk_car' [-Wunused-parameter] 340 | static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ../../src/ntfs_dir.c:340:59: warning: unused parameter 'partition' [-Wunused-parameter] 340 | static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/ntfs_dir.c: In function 'dir_partition_ntfs_init': ../../src/ntfs_dir.c:478:24: warning: argument 1 of 'ntfs_log_set_handler' might be a candidate for a format attribute [-Wsuggest-attribute=format] 478 | ntfs_log_set_handler(ntfs_log_handler_stderr); | ^~~~~~~~~~~~~~~~~~~~~~~ CC partgptw.o CC rfs_dir.o ../../src/partgptw.c: In function 'write_part_gpt': ../../src/partgptw.c:243:87: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | if(disk_car->pread(disk_car, gpt_org, disk_car->sector_size, disk_car->sector_size) == disk_car->sector_size) | ^~ ../../src/partgptw.c:218:92: warning: unused parameter 'verbose' [-Wunused-parameter] 218 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/rfs_dir.c: In function 'dir_partition_reiser_init': ../../src/rfs_dir.c:548:51: warning: unused parameter 'disk_car' [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~^~~~~~~~ ../../src/rfs_dir.c:548:80: warning: unused parameter 'partition' [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/rfs_dir.c:548:103: warning: unused parameter 'dir_data' [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~~~^~~~~~~~ ../../src/rfs_dir.c:548:123: warning: unused parameter 'verbose' [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~^~~~~~~ /usr/bin/x86_64-pc-cygwin-windres --include-dir ../../src ../../src/icon_tst.rc icon_tst.o CC next.o CC photorec.o CC phcfg.o ../../src/photorec.c: In function 'set_search_start': ../../src/photorec.c:762:20: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 762 | if(params->offset!=-1) | ^~ CC exfatp.o CC ext2grp.o CC ext2p.o CC fatp.o CC file_found.o CC ntfsp.o CC pdisksel.o CC poptions.o CC sessionp.o CC dfxml.o ../../src/sessionp.c: In function 'session_save': ../../src/sessionp.c:299:60: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 299 | if(params->status!=STATUS_FIND_OFFSET && params->offset!=-1) | ^~ CC partgptro.o CC filegen.o ../../src/partgptro.c: In function 'write_part_gpt': ../../src/partgptro.c:32:28: warning: unused parameter 'disk_car' [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ ../../src/partgptro.c:32:57: warning: unused parameter 'list_part' [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/partgptro.c:32:92: warning: unused parameter 'verbose' [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ CC file_list.o ../../src/filegen.c: In function 'data_check_size': ../../src/filegen.c:337:51: warning: unused parameter 'buffer' [-Wunused-parameter] 337 | data_check_t data_check_size(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../../src/filegen.c:39: ../../src/filegen.c: In function '_file_rename': ../../src/filegen.c:554:15: warning: array subscript has type 'char' [-Wchar-subscripts] 554 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:554:33: warning: array subscript has type 'char' [-Wchar-subscripts] 554 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:554:51: warning: array subscript has type 'char' [-Wchar-subscripts] 554 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:554:69: warning: array subscript has type 'char' [-Wchar-subscripts] 554 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c: In function '_file_rename_unicode': ../../src/filegen.c:688:15: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:688:33: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:688:51: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:688:69: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ CC file_1cd.o ../../src/file_1cd.c: In function 'header_check_1cd': ../../src/file_1cd.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_1cd.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_1cd.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_3dm.o ../../src/file_3dm.c: In function 'header_check_3dm': ../../src/file_3dm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_3dm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_3ds.o ../../src/file_3ds.c: In function 'header_check_3ds': ../../src/file_3ds.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_3ds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_3ds.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_3ds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_7z.o ../../src/file_7z.c: In function 'header_check_7z': ../../src/file_7z.c:68:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_7z.c:68:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_7z.c:68:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_DB.o ../../src/file_DB.c: In function 'header_check_DB': ../../src/file_DB.c:55:49: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_DB.c:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_DB.c:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_DB.c:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_a.o ../../src/file_a.c: In function 'header_check_a': ../../src/file_a.c:68:75: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_a.c:68:107: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_a.c:68:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ab.o ../../src/file_ab.c: In function 'header_check_addressbook': ../../src/file_ab.c:98:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ab.c:98:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 98 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ab.c:98:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 98 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_abr.o CC file_acb.o ../../src/file_abr.c: In function 'header_check_abr': ../../src/file_abr.c:95:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 95 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_abr.c:95:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 95 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_acb.c: In function 'header_check_acb': ../../src/file_acb.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_acb.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_acb.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_acb.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ace.o CC file_ado.o ../../src/file_ace.c: In function 'header_check_ace': ../../src/file_ace.c:233:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 233 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ace.c:233:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 233 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ace.c:233:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 233 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ado.c: In function 'header_check_ado': ../../src/file_ado.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ado.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ado.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_afdesign.o CC file_ahn.o ../../src/file_afdesign.c: In function 'header_check_afdesign': ../../src/file_afdesign.c:76:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_afdesign.c:76:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_afdesign.c:76:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ahn.c: In function 'header_check_ahn': ../../src/file_ahn.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ahn.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ahn.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_aif.o CC file_all.o ../../src/file_aif.c: In function 'header_check_aif': ../../src/file_aif.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_aif.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_aif.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_all.c: In function 'header_check_all': ../../src/file_all.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_all.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_all.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_all.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_als.o CC file_amd.o ../../src/file_als.c: In function 'header_check_als': ../../src/file_als.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_als.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_als.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_amd.c: In function 'header_check_amd': ../../src/file_amd.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_amd.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_amd.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_amd.c: In function 'header_check_amt': ../../src/file_amd.c:80:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 80 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_amd.c:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_amd.c:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_amr.o CC file_apa.o ../../src/file_amr.c: In function 'header_check_amr': ../../src/file_amr.c:101:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 101 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_amr.c:101:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 101 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_amr.c:101:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 101 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_apa.c: In function 'header_check_apa': ../../src/file_apa.c:57:55: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | @*/static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_apa.c:57:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | @*/static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_apa.c:57:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | @*/static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_apa.c:57:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | @*/static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ape.o CC file_apple.o ../../src/file_ape.c: In function 'header_check_ape': ../../src/file_ape.c:113:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 113 | @*/static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ape.c:113:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 113 | @*/static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_apple.c: In function 'header_check_apple': ../../src/file_apple.c:55:52: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_apple.c:55:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_apple.c:55:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_apple.c:55:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ari.o CC file_arj.o ../../src/file_ari.c: In function 'header_check_ari': ../../src/file_ari.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ari.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ari.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_arj.c: In function 'header_check_arj': ../../src/file_arj.c:146:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 146 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_arj.c:146:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 146 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_arj.c:146:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 146 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_asf.o CC file_asl.o ../../src/file_asf.c: In function 'header_check_asf': ../../src/file_asf.c:83:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 83 | static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_asf.c:83:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 83 | static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_asl.c: In function 'header_check_asl': ../../src/file_asl.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_asl.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_asl.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_asl.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_asm.o CC file_atd.o ../../src/file_asm.c: In function 'header_check_asm': ../../src/file_asm.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_asm.c:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_asm.c:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_atd.c: In function 'header_check_atd': ../../src/file_atd.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_atd.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_atd.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_atd.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_au.o CC file_axp.o ../../src/file_au.c: In function 'header_check_au': ../../src/file_au.c:69:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_au.c:69:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_au.c:69:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_axp.c: In function 'header_check_axp': ../../src/file_axp.c:110:50: warning: unused parameter 'buffer' [-Wunused-parameter] 110 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_axp.c:110:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 110 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_axp.c:110:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 110 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_axp.c:110:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 110 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_axx.o CC file_bac.o ../../src/file_axx.c: In function 'header_check_axx': ../../src/file_axx.c:122:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 122 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_axx.c:122:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 122 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_axx.c:122:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 122 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_bac.c: In function 'header_check_bac': ../../src/file_bac.c:126:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 126 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bac.c:126:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 126 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bac.c:126:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 126 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bdm.o CC file_berkeley.o ../../src/file_bdm.c: In function 'header_check_bdm': ../../src/file_bdm.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_bdm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bdm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bdm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_berkeley.c: In function 'header_check_berkeley_le': ../../src/file_berkeley.c:57:58: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_berkeley.c:57:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_berkeley.c:57:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_berkeley.c:57:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bfa.o CC file_bim.o ../../src/file_bim.c: In function 'header_check_bim': ../../src/file_bfa.c: In function 'header_check_bfa': ../../src/file_bfa.c:70:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | static int header_check_bfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bfa.c:70:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | static int header_check_bfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bfa.c:70:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | static int header_check_bfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_bim.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_bim.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bim.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bim.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bin.o CC file_binvox.o ../../src/file_bin.c: In function 'header_check_bin': ../../src/file_bin.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bin.c:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bin.c:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_binvox.c: In function 'header_check_binvox': ../../src/file_binvox.c:57:53: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_binvox.c:57:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_binvox.c:57:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_binvox.c:57:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bkf.o CC file_bld.o ../../src/file_bkf.c: In function 'header_check_bkf': ../../src/file_bkf.c:120:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 120 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bkf.c:120:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 120 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bkf.c:120:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 120 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_bld.c: In function 'header_check_blend': ../../src/file_bld.c:263:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 263 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bld.c:263:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 263 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bld.c:263:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 263 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bmp.o ../../src/file_bmp.c: In function 'header_check_bmp': ../../src/file_bmp.c:104:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bmp.c:104:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bmp.c:104:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bpg.o ../../src/file_bpg.c: In function 'header_check_bpg': ../../src/file_bpg.c:111:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 111 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bpg.c:111:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 111 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bvr.o ../../src/file_bvr.c: In function 'header_check_bvr': ../../src/file_bvr.c:86:50: warning: unused parameter 'buffer' [-Wunused-parameter] 86 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_bvr.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bvr.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_bz2.o CC file_c4d.o ../../src/file_bz2.c: In function 'header_check_bz2': ../../src/file_bz2.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_bz2.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_bz2.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_c4d.c: In function 'header_check_c4d': ../../src/file_c4d.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_c4d.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_c4d.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_c4d.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cab.o CC file_caf.o ../../src/file_cab.c: In function 'header_check_cab': ../../src/file_cab.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cab.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_caf.c: In function 'header_check_caf': ../../src/file_caf.c:127:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 127 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_caf.c:127:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 127 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_caf.c:127:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 127 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_cab.c:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cam.o CC file_catdrawing.o ../../src/file_cam.c: In function 'header_check_cam': ../../src/file_cam.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_cam.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cam.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cam.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_catdrawing.c: In function 'header_check_catdrawing': ../../src/file_catdrawing.c:57:57: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_catdrawing.c:57:84: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_catdrawing.c:57:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_catdrawing.c:57:157: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cdt.o CC file_che.o ../../src/file_cdt.c: In function 'header_check_cdt': ../../src/file_cdt.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cdt.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cdt.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_che.c: In function 'header_check_che': ../../src/file_che.c:116:50: warning: unused parameter 'buffer' [-Wunused-parameter] 116 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_che.c:116:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 116 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_che.c:116:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_chm.o ../../src/file_che.c:116:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 116 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_chm.c: In function 'header_check_chm': ../../src/file_chm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_chm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_chm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_class.o CC file_cm.o ../../src/file_class.c: In function 'header_check_class': ../../src/file_class.c:65:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_class.c:65:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_class.c:65:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_cm.c: In function 'header_check_cm': ../../src/file_cm.c:57:49: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_cm.c:57:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cm.c:57:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cm.c:57:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_compress.o CC file_cow.o ../../src/file_compress.c: In function 'header_check_compress': ../../src/file_compress.c:57:55: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_compress.c:57:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_compress.c:57:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_compress.c:57:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_cow.c: In function 'header_check_qcow1': ../../src/file_cow.c:90:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 90 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cow.c:90:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 90 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cow.c:90:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 90 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_cow.c: In function 'header_check_qcow2': ../../src/file_cow.c:114:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 114 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cow.c:114:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 114 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cow.c:114:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 114 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cpi.o CC file_crw.o ../../src/file_cpi.c: In function 'header_check_cpi': ../../src/file_cpi.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_cpi.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cpi.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cpi.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_csh.o ../../src/file_crw.c: In function 'header_check_crw': ../../src/file_crw.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_crw.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_crw.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_csh.c: In function 'header_check_csh': ../../src/file_csh.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_csh.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_csh.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_csh.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ctg.o CC file_cwk.o ../../src/file_ctg.c: In function 'header_check_ctg': ../../src/file_ctg.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_ctg.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ctg.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ctg.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_cwk.c: In function 'header_check_cwk': ../../src/file_cwk.c:96:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 96 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_cwk.c:96:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 96 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_cwk.c:96:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 96 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_d2s.o CC file_dad.o ../../src/file_d2s.c: In function 'header_check_d2s': ../../src/file_d2s.c:80:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 80 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_d2s.c:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_d2s.c:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dad.c: In function 'header_check_dad': ../../src/file_dad.c:101:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 101 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dad.c:101:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 101 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_dar.o CC file_dat.o ../../src/file_dar.c: In function 'header_check_dar': ../../src/file_dar.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dar.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dar.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dat.c: In function 'header_check_dat': ../../src/file_dat.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dat.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_dbf.o ../../src/file_dat.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dat.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dat.c: In function 'header_check_datIE': ../../src/file_dat.c:76:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dat.c:76:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dat.c:76:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dat.c: In function 'header_check_dat_history4': ../../src/file_dat.c:101:86: warning: unused parameter 'buffer_size' [-Wunused-parameter] 101 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dat.c:101:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 101 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dat.c:101:159: warning: unused parameter 'file_recovery' [-Wunused-parameter] 101 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dat.c: In function 'header_check_dat_history10': ../../src/file_dat.c:122:87: warning: unused parameter 'buffer_size' [-Wunused-parameter] 122 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dat.c:122:119: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 122 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dat.c:122:160: warning: unused parameter 'file_recovery' [-Wunused-parameter] 122 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dbf.c: In function 'header_check_dbf': ../../src/file_dbf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dbf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dbf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dbn.o CC file_dcm.o ../../src/file_dbn.c: In function 'header_check_dbn': ../../src/file_dbn.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dbn.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dbn.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dcm.c: In function 'header_check_dcm': ../../src/file_dcm.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dcm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dcm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dcm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ddf.o CC file_dex.o ../../src/file_ddf.c: In function 'header_check_ddf3': ../../src/file_ddf.c:115:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 115 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ddf.c:115:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 115 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dex.c: In function 'header_check_dex': ../../src/file_dex.c:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dex.c:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dex.c:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ddf.c:115:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 115 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ddf.c: In function 'header_check_ddf4': ../../src/file_ddf.c:136:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 136 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ddf.c:136:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 136 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ddf.c:136:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 136 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ddf.c: In function 'header_check_ddf5': ../../src/file_ddf.c:157:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 157 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ddf.c:157:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 157 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ddf.c:157:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 157 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dim.o CC file_dir.o ../../src/file_dim.c: In function 'header_check_dim': ../../src/file_dim.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dim.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dim.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dim.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_djv.o ../../src/file_dir.c: In function 'data_check_fatdir': ../../src/file_dir.c:85:60: warning: unused parameter 'buffer' [-Wunused-parameter] 85 | static data_check_t data_check_fatdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dir.c: In function 'header_check_dir': ../../src/file_dir.c:102:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 102 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dir.c:102:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 102 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dir.c:102:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 102 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_djv.c: In function 'header_check_djv': ../../src/file_djv.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_djv.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_djv.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dmp.o CC file_doc.o ../../src/file_dmp.c: In function 'header_check_dmp': ../../src/file_dmp.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dmp.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dmp.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dpx.o ../../src/file_doc.c: In function 'header_check_doc': ../../src/file_doc.c:1739:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 1739 | static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_doc.c:1739:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 1739 | static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dpx.c: In function 'header_check_dpx': ../../src/file_dpx.c:95:66: warning: pointer targets in passing argument 1 of 'get_time_from_YYYY_MM_DD_HH_MM_SS' differ in signedness [-Wpointer-sign] 95 | file_recovery_new->time=get_time_from_YYYY_MM_DD_HH_MM_SS(dpx->create_time); | ~~~^~~~~~~~~~~~~ | | | const char * In file included from ../../src/file_dpx.c:35: ../../src/filegen.h:356:63: note: expected 'const unsigned char *' but argument is of type 'const char *' 356 | time_t get_time_from_YYYY_MM_DD_HH_MM_SS(const unsigned char *date_asc); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../src/file_dpx.c:81:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 81 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dpx.c:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dpx.c:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_drw.o ../../src/file_drw.c: In function 'header_check_drw': ../../src/file_drw.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_drw.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_drw.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_drw2.o ../../src/file_drw2.c: In function 'header_check_drw2': ../../src/file_drw2.c:56:51: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_drw2.c:56:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_drw2.c:56:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_drw2.c:56:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ds2.o ../../src/file_ds2.c: In function 'header_check_ds2': ../../src/file_ds2.c:84:54: warning: pointer targets in passing argument 1 of 'get_time_from_YYMMDDHHMMSS' differ in signedness [-Wpointer-sign] 84 | file_recovery_new->time=get_time_from_YYMMDDHHMMSS(date_asc); | ^~~~~~~~ | | | const unsigned char * In file included from ../../src/file_ds2.c:35: ../../src/filegen.h:350:47: note: expected 'const char *' but argument is of type 'const unsigned char *' 350 | time_t get_time_from_YYMMDDHHMMSS(const char *date_asc); | ~~~~~~~~~~~~^~~~~~~~ ../../src/file_ds2.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ds2.c:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ds2.c:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ds_store.o ../../src/file_ds_store.c: In function 'header_check_ds_store': ../../src/file_ds_store.c:68:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ds_store.c:68:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ds_store.c:68:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dsc.o ../../src/file_dsc.c: In function 'header_check_dsc': ../../src/file_dsc.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dsc.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dsc.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dss.o In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1802:11: note: called from here 1802 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1806:11: note: called from here 1806 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1810:11: note: called from here 1810 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1811:7: note: called from here 1811 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1812:7: note: called from here 1812 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1813:7: note: called from here 1813 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1817:11: note: called from here 1817 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1821:11: note: called from here 1821 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1825:11: note: called from here 1825 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1829:11: note: called from here 1829 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1833:11: note: called from here 1833 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1837:11: note: called from here 1837 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1841:11: note: called from here 1841 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1842:10: note: called from here 1842 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:41: ../../src/memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ ../../src/file_doc.c:1846:11: note: called from here 1846 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/file_dss.c: In function 'header_check_dss': ../../src/file_dss.c:72:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dss.c:72:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dss.c:72:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dst.o ../../src/file_dst.c: In function 'header_check_dst': ../../src/file_dst.c:65:13: warning: passing argument 1 of 'sscanf' from incompatible pointer type [-Wincompatible-pointer-types] 65 | if(sscanf(&buf, "%u", &stitch_count) < 0) | ^~~~ | | | char (*)[8] In file included from ../../src/file_dst.c:30: /usr/x86_64-pc-cygwin/sys-root/usr/include/stdio.h:204:13: note: expected 'const char * restrict' but argument is of type 'char (*)[8]' 204 | int sscanf (const char *__restrict, const char *__restrict, ...) | ^ ../../src/file_dst.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dst.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dst.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dta.o ../../src/file_dta.c: In function 'header_check_dta': ../../src/file_dta.c:58:50: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dta.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dta.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dta.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dump.o ../../src/file_dump.c: In function 'header_check_dump': ../../src/file_dump.c:139:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 139 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dump.c:139:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 139 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dump.c:139:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 139 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dv.o CC file_dvi.o ../../src/file_dv.c: In function 'header_check_dv': ../../src/file_dv.c:206:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 206 | static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dv.c:206:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 206 | static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dvi.c: In function 'header_check_dvi': ../../src/file_dvi.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dvi.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dvi.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dvr.o ../../src/file_dvr.c: In function 'header_check_dvr': ../../src/file_dvr.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dvr.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_dwg.o CC file_dxf.o ../../src/file_dwg.c: In function 'header_check_dwg': ../../src/file_dwg.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dwg.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dwg.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dwg.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dxf.c: In function 'header_check_dxf': ../../src/file_dxf.c:100:50: warning: unused parameter 'buffer' [-Wunused-parameter] 100 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_dxf.c:100:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 100 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_dxf.c:100:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 100 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_dxf.c:100:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 100 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_e01.o CC file_edb.o ../../src/file_e01.c: In function 'header_check_e01': ../../src/file_e01.c:110:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 110 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_e01.c:110:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 110 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_e01.c:110:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 110 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_edb.c: In function 'header_check_edb': ../../src/file_edb.c:58:50: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_edb.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_edb.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_ecryptfs.o CC file_elf.o ../../src/file_ecryptfs.c: In function 'header_check_ecryptfs': ../../src/file_ecryptfs.c:85:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 85 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ecryptfs.c:85:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 85 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ecryptfs.c:85:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 85 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_elf.c: In function 'header_check_elf32_lsb': ../../src/file_elf.c:133:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 133 | static int header_check_elf32_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_elf.c:133:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 133 | static int header_check_elf32_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_elf.c:133:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 133 | static int header_check_elf32_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_elf.c: In function 'header_check_elf32_msb': ../../src/file_elf.c:161:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 161 | static int header_check_elf32_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_elf.c:161:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 161 | static int header_check_elf32_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_elf.c:161:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 161 | static int header_check_elf32_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_elf.c: In function 'header_check_elf64_lsb': ../../src/file_elf.c:189:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 189 | static int header_check_elf64_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_elf.c:189:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 189 | static int header_check_elf64_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_elf.c:189:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 189 | static int header_check_elf64_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_elf.c: In function 'header_check_elf64_msb': ../../src/file_elf.c:217:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 217 | static int header_check_elf64_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_elf.c:217:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 217 | static int header_check_elf64_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_elf.c:217:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 217 | static int header_check_elf64_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_emf.o CC file_ess.o ../../src/file_emf.c: In function 'header_check_emf': ../../src/file_emf.c:393:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 393 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_emf.c:393:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 393 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ess.c: In function 'header_check_ess': ../../src/file_ess.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_ess.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ess.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ess.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_evt.o CC file_evtx.o ../../src/file_evt.c: In function 'header_check_evt': ../../src/file_evt.c:109:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 109 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_evt.c:109:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 109 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_evt.c:109:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 109 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_evtx.c: In function 'header_check_evtx': ../../src/file_evtx.c:73:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_evtx.c:73:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_evtx.c:73:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_exe.o CC file_exr.o ../../src/file_exe.c: In function 'parse_StringTable': ../../src/file_exe.c:184:16: warning: variable 'val_len' set but not used [-Wunused-but-set-variable] 184 | unsigned int val_len; | ^~~~~~~ ../../src/file_exe.c: In function 'header_check_exe': ../../src/file_exe.c:740:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 740 | static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_exe.c:740:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 740 | static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_exr.c: In function 'header_check_exr': ../../src/file_exr.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_exr.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_exr.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_exr.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_exs.o ../../src/file_exs.c: In function 'header_check_exs': ../../src/file_exs.c:81:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 81 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_exs.c:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_exs.c:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ext.o ../../src/file_ext.c: In function 'header_check_ext2_sb': ../../src/file_ext.c:91:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 91 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ext.c:91:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 91 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ext.c:91:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 91 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ext.c: In function 'data_check_extdir': ../../src/file_ext.c:117:60: warning: unused parameter 'buffer' [-Wunused-parameter] 117 | static data_check_t data_check_extdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_ext.c: In function 'header_check_ext2_dir': ../../src/file_ext.c:163:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 163 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ext.c:163:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 163 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ext.c:163:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 163 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ext2.o CC file_fat.o ../../src/file_ext2.c: In function 'header_check_ext2_fs': ../../src/file_ext2.c:58:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ext2.c:58:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fat.c: In function 'header_check_fat': ../../src/file_fat.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fat.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fat.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fbf.o ../../src/file_fbf.c: In function 'header_check_fbf': ../../src/file_fbf.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fbf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fbf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fbf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fbk.o CC file_fcp.o ../../src/file_fbk.c: In function 'header_check_fbk': ../../src/file_fbk.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fbk.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fbk.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fbk.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fcp.c: In function 'header_check_fcp': ../../src/file_fcp.c:62:50: warning: unused parameter 'buffer' [-Wunused-parameter] 62 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fcp.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fcp.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fcp.c:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fcs.o CC file_fdb.o ../../src/file_fcs.c: In function 'header_check_fcs': ../../src/file_fcs.c:152:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 152 | static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fdb.c: In function 'header_check_fdb': ../../src/file_fdb.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fdb.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fdb.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fcs.c:152:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 152 | static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fds.o ../../src/file_fds.c: In function 'header_check_fds': ../../src/file_fds.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fds.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fds.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fh10.o ../../src/file_fh10.c: In function 'header_check_fh10': ../../src/file_fh10.c:59:51: warning: unused parameter 'buffer' [-Wunused-parameter] 59 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fh10.c:59:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fh10.c:59:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fh10.c:59:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fh5.o CC file_filevault.o ../../src/file_filevault.c: In function 'header_check_filevault': ../../src/file_filevault.c:57:56: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_filevault.c:57:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_filevault.c:57:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_filevault.c:57:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fh5.c: In function 'header_check_fh5': ../../src/file_fh5.c:81:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 81 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fh5.c:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fh5.c:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fits.o CC file_fit.o ../../src/file_fit.c: In function 'header_check_fit': ../../src/file_fit.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fit.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fit.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fits.c: In function 'header_check_fits': ../../src/file_fits.c:225:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 225 | static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fits.c:225:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 225 | static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_flac.o ../../src/file_flac.c: In function 'header_check_flac': ../../src/file_flac.c:97:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_flac.c:97:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_flac.c:97:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_flp.o CC file_flv.o ../../src/file_flp.c: In function 'header_check_flp': ../../src/file_flp.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_flp.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_flp.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_flv.c: In function 'header_check_flv': ../../src/file_flv.c:123:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 123 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_flv.c:123:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 123 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_flv.c:123:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 123 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fm.o CC file_fob.o ../../src/file_fm.c: In function 'header_check_fm': ../../src/file_fm.c:64:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fm.c:64:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fm.c:64:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fob.c: In function 'header_check_fob': ../../src/file_fob.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fob.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fos.o ../../src/file_fos.c: In function 'header_check_fos': ../../src/file_fos.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fos.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fos.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fos.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fp5.o CC file_fp7.o ../../src/file_fp5.c: In function 'header_check_fp5': ../../src/file_fp5.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fp5.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fp5.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fp5.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fp7.c: In function 'header_check_fp7': ../../src/file_fp7.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fp7.c:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_freeway.o CC file_frm.o ../../src/file_freeway.c: In function 'header_check_freeway': ../../src/file_freeway.c:57:54: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_freeway.c:57:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_freeway.c:57:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_freeway.c:57:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_frm.c: In function 'header_check_frm': ../../src/file_frm.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_frm.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_frm.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fs.o CC file_fwd.o ../../src/file_fs.c: In function 'header_check_fs': ../../src/file_fs.c:110:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 110 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fs.c:110:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 110 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fs.c:110:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 110 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fwd.c: In function 'header_check_fwd': ../../src/file_fwd.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_fwd.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_fwd.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_fwd.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gam.o CC file_gct.o ../../src/file_gam.c: In function 'header_check_gam': ../../src/file_gam.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gam.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gam.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gam.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gct.c: In function 'header_check_gct': ../../src/file_gct.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gct.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gct.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gct.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gho.o CC file_gi.o ../../src/file_gho.c: In function 'header_check_ghost': ../../src/file_gho.c:57:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ghost(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gho.c:57:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ghost(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gho.c:57:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ghost(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gi.c: In function 'header_check_gi': ../../src/file_gi.c:64:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gi.c:64:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gi.c:64:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gif.o CC file_gm6.o ../../src/file_gif.c: In function 'header_check_gif': ../../src/file_gif.c:210:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 210 | static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gif.c:210:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 210 | static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gm6.c: In function 'header_check_gm81': ../../src/file_gm6.c:58:51: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gm6.c:58:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gm6.c:58:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gm6.c:58:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gm6.c: In function 'header_check_gmk': ../../src/file_gm6.c:77:50: warning: unused parameter 'buffer' [-Wunused-parameter] 77 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gm6.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gm6.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gm6.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gm6.c: In function 'header_check_gm6': ../../src/file_gm6.c:96:50: warning: unused parameter 'buffer' [-Wunused-parameter] 96 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gm6.c:96:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 96 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gm6.c:96:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 96 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gm6.c:96:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 96 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gm6.c: In function 'header_check_gmd': ../../src/file_gm6.c:115:50: warning: unused parameter 'buffer' [-Wunused-parameter] 115 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gm6.c:115:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 115 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gm6.c:115:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 115 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gm6.c:115:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 115 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gp2.o ../../src/file_gp2.c: In function 'header_check_gp2': ../../src/file_gp2.c:76:50: warning: unused parameter 'buffer' [-Wunused-parameter] 76 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_gp2.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gp2.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gp2.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gp5.o CC file_gpg.o ../../src/file_gp5.c: In function 'header_check_gp5': ../../src/file_gp5.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gp5.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gp5.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gpg.c: In function 'header_check_gpg': ../../src/file_gpg.c:538:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 538 | static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gpg.c:538:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 538 | static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gpx.o ../../src/file_gpx.c: In function 'header_check_gpx': ../../src/file_gpx.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gpx.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_gpx.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gsm.o ../../src/file_gsm.c: In function 'header_check_gsm': ../../src/file_gsm.c:94:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 94 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gsm.c:94:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 94 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_gz.o ../../src/file_gz.c: In function 'file_check_bgzf': ../../src/file_gz.c:90:46: warning: unused parameter 'file_recovery' [-Wunused-parameter] 90 | static void file_check_bgzf(file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gz.c: In function 'header_check_bgzf': ../../src/file_gz.c:104:115: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | static int header_check_bgzf(const unsigned char *buffer, const unsigned char *buffer_uncompr, const unsigned int buffer_size, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gz.c: In function 'header_check_gz': ../../src/file_gz.c:218:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 218 | d_stream.next_in = (Bytef*)buffer_compr; | ^ ../../src/file_gz.c:149:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 149 | static int header_check_gz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_hdf.o ../../src/file_hdf.c: In function 'header_check_hdf': ../../src/file_hdf.c:152:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 152 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_hdf.c:152:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 152 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_hdf.c:152:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 152 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_hdr.o CC file_hds.o ../../src/file_hds.c: In function 'header_check_hds': ../../src/file_hds.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_hds.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_hds.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_hdr.c: In function 'header_check_hdr': ../../src/file_hdr.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_hdr.c:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_hdr.c:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_hfsp.o CC file_hm.o ../../src/file_hfsp.c: In function 'header_check_hfsp': ../../src/file_hfsp.c:59:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_hfsp.c:59:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_hfsp.c:59:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_hm.c: In function 'header_check_hm': ../../src/file_hm.c:57:49: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_hm.c:57:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_hm.c:57:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_hm.c:57:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_hr9.o CC file_http.o ../../src/file_http.c: In function 'header_check_http': ../../src/file_hr9.c: In function 'header_check_hr9': ../../src/file_hr9.c:72:50: warning: unused parameter 'buffer' [-Wunused-parameter] 72 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_hr9.c:72:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_hr9.c:72:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_hr9.c:72:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_http.c:57:51: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_http.c:57:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_http.c:57:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_http.c:57:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ibd.o CC file_icc.o ../../src/file_icc.c: In function 'header_check_icc': ../../src/file_icc.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_icc.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_icc.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ibd.c: In function 'header_check_ibd': ../../src/file_ibd.c:85:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 85 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ibd.c:85:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 85 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_icns.o CC file_ico.o ../../src/file_ico.c: In function 'header_check_ico': ../../src/file_ico.c:92:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 92 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ico.c:92:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 92 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_icns.c: In function 'header_check_icns': ../../src/file_icns.c:116:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 116 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_icns.c:116:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_icns.c:116:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 116 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ifo.o CC file_idx.o ../../src/file_idx.c: In function 'header_check_idx': ../../src/file_idx.c:83:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_idx.c:83:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 83 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ifo.c: In function 'header_check_ifo': ../../src/file_ifo.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ifo.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ifo.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_imb.o CC file_indd.o ../../src/file_imb.c: In function 'header_check_imb': ../../src/file_imb.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_imb.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_imb.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_imb.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_indd.c: In function 'header_check_indd': ../../src/file_indd.c:152:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 152 | static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_indd.c:152:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 152 | static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_info.o ../../src/file_info.c: In function 'header_check_info': ../../src/file_info.c:57:51: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_info.c:57:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_info.c:57:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_info.c:57:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_iso.o CC file_it.o ../../src/file_iso.c: In function 'header_check_iso': ../../src/file_iso.c:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | static int header_check_iso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_iso.c:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_iso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_it.c: In function 'header_check_it': ../../src/file_it.c:84:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 84 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_it.c:84:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 84 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_it.c:84:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 84 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_itu.o CC file_jks.o ../../src/file_itu.c: In function 'header_check_itunes': ../../src/file_itu.c:57:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_itu.c:57:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_itu.c:57:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_jks.c: In function 'header_check_jks': ../../src/file_jks.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_jks.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_jks.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_jpg.o CC file_jsonlz4.o ../../src/file_jsonlz4.c: In function 'header_check_jsonlz4': ../../src/file_jsonlz4.c:58:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_jsonlz4.c:58:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_jsonlz4.c:58:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_jpg.c: In function 'header_check_jpg': ../../src/file_jpg.c:872:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 872 | static int header_check_jpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_jpg.c: In function 'my_output_message': ../../src/file_jpg.c:1067:45: warning: unused parameter 'cinfo' [-Wunused-parameter] 1067 | static void my_output_message (j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ ../../src/file_jpg.c: In function 'jpg_term_source': ../../src/file_jpg.c:1258:47: warning: unused parameter 'cinfo' [-Wunused-parameter] 1258 | static void jpg_term_source (j_decompress_ptr cinfo) | ~~~~~~~~~~~~~~~~~^~~~~ CC file_kdb.o ../../src/file_jpg.c: In function 'jpg_find_error': ../../src/file_jpg.c:1584:118: warning: unused parameter 'checkpoint_offset' [-Wunused-parameter] 1584 | static uint64_t jpg_find_error(struct jpeg_session_struct *jpeg_session, const unsigned int *offsets, const uint64_t checkpoint_offset) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../src/file_jpg.c: In function 'jpg_check_sof0': ../../src/file_jpg.c:1929:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1929 | if(length < 8+h->nbr*3) | ^ ../../src/file_jpg.c: In function 'jpg_save_thumbnail': ../../src/file_jpg.c:2035:105: warning: unused parameter 'nbytes' [-Wunused-parameter] 2035 | static void jpg_save_thumbnail(const file_recovery_t *file_recovery, const char *buffer, const uint64_t nbytes, const uint64_t thumb_offset, const unsigned int thumb_size) | ~~~~~~~~~~~~~~~^~~~~~ ../../src/file_kdb.c: In function 'header_check_kdb': ../../src/file_kdb.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_kdb.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_kdb.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_kdb.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_kdbx.o ../../src/file_kdbx.c: In function 'header_check_kdbx': ../../src/file_kdbx.c:57:51: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_kdbx.c:57:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_kdbx.c:57:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_kdbx.c:57:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_key.o ../../src/file_key.c: In function 'header_check_key': ../../src/file_key.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_key.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_key.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_key.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ldf.o ../../src/file_ldf.c: In function 'header_check_ldf': ../../src/file_ldf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ldf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ldf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_lit.o ../../src/file_lit.c: In function 'header_check_lit': ../../src/file_lit.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_lit.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_lit.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_lit.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_lnk.o ../../src/file_lnk.c: In function 'header_check_lnk': ../../src/file_lnk.c:235:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 235 | static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_lnk.c:235:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 235 | static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_logic.o ../../src/file_logic.c: In function 'header_check_logic': ../../src/file_logic.c:57:52: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_logic.c:57:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_logic.c:57:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_logic.c:57:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_lso.o ../../src/file_lso.c: In function 'header_check_lso': ../../src/file_lso.c:74:50: warning: unused parameter 'buffer' [-Wunused-parameter] 74 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_lso.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_lso.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_lso.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_luks.o ../../src/file_luks.c: In function 'header_check_luks': ../../src/file_luks.c:60:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_luks.c:60:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_luks.c:60:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_lxo.o ../../src/file_lxo.c: In function 'header_check_lxo': ../../src/file_lxo.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_lxo.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_lxo.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_lzh.o ../../src/file_lzh.c: In function 'header_check_lzh': ../../src/file_lzh.c:129:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 129 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_lzh.c:129:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 129 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_lzh.c:129:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 129 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_lzo.o ../../src/file_lzo.c: In function 'header_check_lzo': ../../src/file_lzo.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_lzo.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_lzo.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_lzo.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_m2ts.o ../../src/file_m2ts.c: In function 'header_check_m2ts': ../../src/file_m2ts.c:158:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 158 | static int header_check_m2ts(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_m2ts.c: In function 'header_check_m2t': ../../src/file_m2ts.c:241:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 241 | static int header_check_m2t(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_mat.o ../../src/file_mat.c: In function 'header_check_mat': ../../src/file_mat.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_max.o ../../src/file_mat.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mat.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mb.o ../../src/file_max.c: In function 'header_check_max': ../../src/file_max.c:59:50: warning: unused parameter 'buffer' [-Wunused-parameter] 59 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_max.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_max.c:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_max.c:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mcd.o ../../src/file_mb.c: In function 'header_check_mb': ../../src/file_mb.c:65:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mb.c:65:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mb.c:65:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mb.c: In function 'header_check_mp': ../../src/file_mb.c:91:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 91 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mb.c:91:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 91 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mb.c:91:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 91 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mcd.c: In function 'header_check_mcd': ../../src/file_mcd.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mcd.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mcd.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mdb.o CC file_mdf.o ../../src/file_mdb.c: In function 'header_check_accdb': ../../src/file_mdb.c:68:52: warning: unused parameter 'buffer' [-Wunused-parameter] 68 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mdb.c:68:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mdb.c:68:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mdb.c:68:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mdb.c: In function 'header_check_mdb': ../../src/file_mdb.c:86:50: warning: unused parameter 'buffer' [-Wunused-parameter] 86 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mdb.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mdb.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mdb.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mdf.c: In function 'header_check_mdf': ../../src/file_mdf.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mdf.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mdf.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mdp.o CC file_mfa.o ../../src/file_mdp.c: In function 'header_check_mdp': ../../src/file_mdp.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_mdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mdp.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_mdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mdp.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_mdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mfa.c: In function 'header_check_mfa': ../../src/file_mfa.c:74:50: warning: unused parameter 'buffer' [-Wunused-parameter] 74 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mfa.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mfa.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mfa.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mfg.o CC file_mft.o ../../src/file_mfg.c: In function 'header_check_mfg': ../../src/file_mfg.c:77:50: warning: unused parameter 'buffer' [-Wunused-parameter] 77 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mfg.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mfg.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mfg.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mft.c: In function 'header_check_mft': ../../src/file_mft.c:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mft.c:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mft.c:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mid.o CC file_mig.o ../../src/file_mid.c: In function 'header_check_mid': ../../src/file_mid.c:146:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 146 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mid.c:146:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 146 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mid.c:146:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 146 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mig.c: In function 'header_check_mig': ../../src/file_mig.c:129:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 129 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mig.c:129:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 129 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mig.c:129:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 129 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mk5.o CC file_mkv.o ../../src/file_mk5.c: In function 'header_check_mk5': ../../src/file_mk5.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mk5.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mk5.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mkv.c: In function 'header_check_mkv': ../../src/file_mkv.c:188:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 188 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mkv.c:188:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 188 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mlv.o ../../src/file_mlv.c: In function 'header_check_mlv': ../../src/file_mlv.c:196:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 196 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mlv.c:196:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 196 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mlv.c:196:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 196 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mobi.o CC file_mov.o ../../src/file_mobi.c: In function 'header_check_mobi': ../../src/file_mobi.c:84:51: warning: unused parameter 'buffer' [-Wunused-parameter] 84 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mobi.c:84:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 84 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mobi.c:84:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 84 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mobi.c:84:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 84 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mp3.o ../../src/file_mov.c: In function 'header_check_mov_aux': ../../src/file_mov.c:249:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 249 | static int header_check_mov_aux(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mp3.c: In function 'header_check_id3': ../../src/file_mp3.c:463:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 463 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mp3.c:463:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 463 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mp3.c:463:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 463 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mp3.c: In function 'header_check_mp3': ../../src/file_mp3.c:518:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 518 | static int header_check_mp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_mpg.o ../../src/file_mpg.c: In function 'header_check_mpg_Pack': ../../src/file_mpg.c:222:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 222 | static int header_check_mpg_Pack(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mpg.c: In function 'header_check_mpg_System': ../../src/file_mpg.c:292:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 292 | static int header_check_mpg_System(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mpg.c: In function 'header_check_mpg_Sequence': ../../src/file_mpg.c:338:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 338 | static int header_check_mpg_Sequence(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mpg.c: In function 'header_check_mpg4_ElemVideo': ../../src/file_mpg.c:377:120: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 377 | static int header_check_mpg4_ElemVideo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_mpl.o ../../src/file_mpl.c: In function 'header_check_mpl': ../../src/file_mpl.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mpl.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mpl.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mpl.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mrw.o ../../src/file_mrw.c: In function 'header_check_mrw': ../../src/file_mrw.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mrw.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mrw.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_msa.o CC file_mus.o ../../src/file_msa.c: In function 'header_check_msa': ../../src/file_msa.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_msa.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_msa.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mus.c: In function 'header_check_mus': ../../src/file_mus.c:73:50: warning: unused parameter 'buffer' [-Wunused-parameter] 73 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mus.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mus.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mus.c:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mxf.o CC file_myo.o ../../src/file_myo.c: In function 'header_check_myo': ../../src/file_myo.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_myo.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mxf.c: In function 'header_check_mxf': ../../src/file_mxf.c:134:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 134 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mxf.c:134:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 134 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mxf.c:134:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 134 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mysql.o ../../src/file_mysql.c: In function 'header_check_myisam': CC file_nd2.o ../../src/file_mysql.c:60:53: warning: unused parameter 'buffer' [-Wunused-parameter] 60 | static int header_check_myisam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_mysql.c:60:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_myisam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mysql.c:60:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_myisam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mysql.c:60:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_myisam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mysql.c: In function 'header_check_mysql': ../../src/file_mysql.c:80:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 80 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_mysql.c:80:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mysql.c:80:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_nd2.c: In function 'header_check_nd2': ../../src/file_nd2.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_nd2.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_nd2.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_nds.o CC file_nes.o ../../src/file_nds.c: In function 'header_check_nds': ../../src/file_nds.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_nds.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_nds.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_nes.c: In function 'header_check_nes': ../../src/file_nes.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_nes.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_nes.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_njx.o CC file_nk2.o ../../src/file_njx.c: In function 'header_check_njx': ../../src/file_njx.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_njx.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_njx.c:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_nk2.c: In function 'header_check_nk2': ../../src/file_nk2.c:242:50: warning: unused parameter 'buffer' [-Wunused-parameter] 242 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_nk2.c:242:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 242 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_nk2.c:242:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 242 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_nk2.c:242:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 242 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_nsf.o ../../src/file_nsf.c: In function 'header_check_nsf': ../../src/file_nsf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_nsf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_nsf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_oci.o CC file_ogg.o ../../src/file_oci.c: In function 'header_check_oci': ../../src/file_oci.c:112:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 112 | static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_oci.c:112:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 112 | static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ogg.c: In function 'header_check_ogg': ../../src/file_ogg.c:113:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 113 | static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ogg.c:113:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 113 | static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_one.o CC file_orf.o ../../src/file_one.c: In function 'header_check_one': ../../src/file_one.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_one.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_one.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_orf.c: In function 'header_check_orf_IIRS': ../../src/file_orf.c:58:55: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_orf.c:58:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_orf.c:58:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_orf.c:58:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_orf.c: In function 'header_check_orf_IIRO': ../../src/file_orf.c:76:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_orf.c:76:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_paf.o CC file_pap.o ../../src/file_paf.c: In function 'header_check_paf': ../../src/file_paf.c:60:50: warning: unused parameter 'buffer' [-Wunused-parameter] 60 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_paf.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_paf.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_paf.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pap.c: In function 'header_check_pap': ../../src/file_pap.c:58:50: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pap.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pap.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_par2.o ../../src/file_pap.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pcap.o ../../src/file_par2.c: In function 'header_check_par2': ../../src/file_par2.c:136:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 136 | static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_par2.c:136:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 136 | static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pcap.c: In function 'header_check_pcap': ../../src/file_pcap.c:57:51: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pcap.c:57:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pcap.c:57:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pcap.c:57:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pcb.o CC file_pct.o ../../src/file_pcb.c: In function 'header_check_pcb': ../../src/file_pcb.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pcb.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pcb.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pcb.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pcx.o ../../src/file_pct.c: In function 'header_check_pct': ../../src/file_pct.c:113:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 113 | static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pct.c:113:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 113 | static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pcx.c: In function 'header_check_pcx': ../../src/file_pcx.c:91:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 91 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pcx.c:91:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 91 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pcx.c:91:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 91 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pdb.o CC file_pdf.o ../../src/file_pdb.c: In function 'header_check_pdb': ../../src/file_pdb.c:104:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pdb.c:104:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pdb.c:104:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pdf.c: In function 'header_check_pdf': ../../src/file_pdf.c:440:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 440 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pdf.c:440:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 440 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pds.o ../../src/file_pds.c: In function 'header_check_pds': ../../src/file_pds.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pds.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pds.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pds.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pf.o ../../src/file_pf.c: In function 'header_check_pf': ../../src/file_pf.c:109:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 109 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pf.c:109:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 109 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pf.c:109:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 109 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pfx.o ../../src/file_pfx.c: In function 'header_check_pfx': ../../src/file_pfx.c:79:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 79 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pfx.c:79:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 79 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pfx.c:79:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 79 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pgdump.o CC file_plist.o ../../src/file_pgdump.c: In function 'header_check_pgdump': ../../src/file_pgdump.c:109:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 109 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pgdump.c:109:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 109 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pgdump.c:109:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 109 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_plist.c: In function 'header_check_plist': ../../src/file_plist.c:61:52: warning: unused parameter 'buffer' [-Wunused-parameter] 61 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_plist.c:61:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_plist.c:61:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_plr.o CC file_plt.o ../../src/file_plr.c: In function 'header_check_plr': ../../src/file_plr.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_plr.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_plr.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_plr.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_plt.c: In function 'header_check_plt': ../../src/file_plt.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_plt.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_plt.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_plt.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_png.o CC file_pnm.o ../../src/file_png.c: In function 'header_check_jng': ../../src/file_png.c:257:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 257 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_png.c:257:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 257 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_png.c:257:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 257 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_png.c: In function 'header_check_mng': ../../src/file_png.c:289:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 289 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_png.c:289:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 289 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_png.c:289:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 289 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_png.c: In function 'header_check_png': ../../src/file_png.c:321:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 321 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_png.c:321:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 321 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pnm.c: In function 'header_check_pbm': ../../src/file_pnm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pnm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pnm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pnm.c: In function 'header_check_pgm': ../../src/file_pnm.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pnm.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pnm.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pnm.c: In function 'header_check_ppm': ../../src/file_pnm.c:95:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 95 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pnm.c:95:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 95 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pnm.c:95:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 95 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_prc.o ../../src/file_prc.c: In function 'header_check_prc': ../../src/file_prc.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_prc.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_prc.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_prd.o ../../src/file_prd.c: In function 'header_check_prd': ../../src/file_prd.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_prd.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_prd.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_prt.o CC file_ps.o ../../src/file_prt.c: In function 'header_check_prt': ../../src/file_prt.c:74:50: warning: unused parameter 'buffer' [-Wunused-parameter] 74 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_prt.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_prt.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_prt.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ps.c: In function 'file_check_ps': ../../src/file_ps.c:63:36: warning: initializer-string for array chars is too long for C++ [-Wc++-compat] 63 | const unsigned char ps_footer[5]="%%EOF"; | ^~~~~~~ ../../src/file_ps.c: In function 'header_check_ps': ../../src/file_ps.c:124:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 124 | if(i+5 <= buffer_size && memcmp(&buffer[i],"EPSF-",5)==0) | ^~ ../../src/file_ps.c:106:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ps.c:106:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_psb.o ../../src/file_psb.c: In function 'psb_skip_image_data': ../../src/file_psb.c:93:62: warning: unused parameter 'buffer' [-Wunused-parameter] 93 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_psb.c:93:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 93 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_psb.c: In function 'header_check_psb': ../../src/file_psb.c:217:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 217 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_psb.c:217:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 217 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_psb.c:217:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 217 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_psd.o ../../src/file_psd.c: In function 'psd_skip_image_data': ../../src/file_psd.c:83:62: warning: unused parameter 'buffer' [-Wunused-parameter] 83 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_psd.c:83:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_psd.c: In function 'header_check_psd': ../../src/file_psd.c:205:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 205 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_psd.c:205:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 205 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_psd.c:205:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 205 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_psf.o ../../src/file_psf.c: In function 'header_check_psf': ../../src/file_psf.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_psf.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_psp.o CC file_pst.o ../../src/file_psp.c: In function 'header_check_psp': ../../src/file_psp.c:94:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 94 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_psp.c:94:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 94 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_psp.c:94:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 94 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pst.c: In function 'header_check_dbx': ../../src/file_pst.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pst.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pst.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pst.c: In function 'header_check_wab': ../../src/file_pst.c:116:50: warning: unused parameter 'buffer' [-Wunused-parameter] 116 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pst.c:116:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 116 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pst.c:116:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pst.c:116:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 116 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pst.c: In function 'header_check_pst': ../../src/file_pst.c:135:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 135 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pst.c:135:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 135 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pst.c:135:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 135 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ptb.o CC file_ptf.o ../../src/file_ptb.c: In function 'header_check_ptb': ../../src/file_ptb.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ptb.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ptb.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ptf.c: In function 'header_check_ptf': ../../src/file_ptf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ptf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ptf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pyc.o CC file_pzf.o ../../src/file_pyc.c: In function 'header_check_pyc': ../../src/file_pyc.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pyc.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pyc.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pzf.c: In function 'header_check_pzf': ../../src/file_pzf.c:75:50: warning: unused parameter 'buffer' [-Wunused-parameter] 75 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pzf.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pzf.c:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pzf.c:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pzh.o CC file_qbb.o ../../src/file_pzh.c: In function 'header_check_pzh': ../../src/file_pzh.c:86:50: warning: unused parameter 'buffer' [-Wunused-parameter] 86 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_pzh.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_pzh.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pzh.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_qbb.c: In function 'header_check_qbb': ../../src/file_qbb.c:126:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 126 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_qbb.c:126:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 126 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_qbb.c: In function 'header_check_qbw': ../../src/file_qbb.c:180:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 180 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_qbb.c:180:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 180 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_qbb.c:180:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 180 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_qbb.c: In function 'header_check_qbw2': ../../src/file_qbb.c:206:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 206 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_qbb.c:206:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 206 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_qbb.c:206:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 206 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_qdf.o ../../src/file_qdf.c: In function 'header_check_qdf': ../../src/file_qdf.c:60:50: warning: unused parameter 'buffer' [-Wunused-parameter] 60 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_qdf.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_qdf.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_qkt.o CC file_qxd.o ../../src/file_qkt.c: In function 'header_check_qkt': ../../src/file_qkt.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_qkt.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_qkt.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_qkt.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_qxd.c: In function 'header_check_qxd': ../../src/file_qxd.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_qxd.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_qxd.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_qxd.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_qxd.c: In function 'header_check_qxp': ../../src/file_qxd.c:76:50: warning: unused parameter 'buffer' [-Wunused-parameter] 76 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_qxd.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_qxd.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_qxd.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_r3d.o CC file_ra.o ../../src/file_r3d.c: In function 'header_check_r3d': ../../src/file_r3d.c:144:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 144 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_r3d.c:144:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 144 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_r3d.c:144:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 144 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_r3d.c: In function 'header_check_r3d_v2': ../../src/file_r3d.c:174:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 174 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_r3d.c:174:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 174 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_r3d.c:174:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 174 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_ra.c: In function 'header_check_ra': ../../src/file_ra.c:101:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 101 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ra.c:101:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 101 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ra.c:101:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 101 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_raf.o CC file_rar.o ../../src/file_raf.c: In function 'header_check_raf': ../../src/file_raf.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_raf.c:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_raf.c:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_rar.c: In function 'header_check_rar15fmt': ../../src/file_rar.c:74:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rar.c:74:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rar.c:74:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_rar.c: In function 'header_check_rar50fmt': ../../src/file_rar.c:109:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 109 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rar.c:109:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 109 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rar.c:109:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 109 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_raw.o CC file_rdc.o ../../src/file_raw.c: In function 'header_check_raw': ../../src/file_raw.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_raw.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_raw.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_raw.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_rdc.c: In function 'header_check_rdc': ../../src/file_rdc.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_rdc.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rdc.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rdc.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_reg.o CC file_res.o ../../src/file_reg.c: In function 'header_check_reg_9x': ../../src/file_reg.c:84:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 84 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_reg.c:84:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 84 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_reg.c: In function 'header_check_reg_nt': ../../src/file_reg.c:128:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 128 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_reg.c:128:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 128 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_reg.c:128:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 128 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_res.c: In function 'header_check_res': ../../src/file_res.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_res.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_res.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_res.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rfp.o CC file_riff.o ../../src/file_rfp.c: In function 'header_check_rfp': ../../src/file_rfp.c:55:55: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | @*/static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_rfp.c:55:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | @*/static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rfp.c:55:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | @*/static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rfp.c:55:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | @*/static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_riff.c: In function 'header_check_riff': ../../src/file_riff.c:293:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 293 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_riff.c:293:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 293 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_riff.c: In function 'header_check_rifx': ../../src/file_riff.c:404:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 404 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_riff.c:404:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 404 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_riff.c:404:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 404 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rlv.o ../../src/file_rlv.c: In function 'header_check_rlv': ../../src/file_rlv.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rlv.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rlv.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rm.o ../../src/file_rm.c: In function 'header_check_rm': ../../src/file_rm.c:66:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rm.c:66:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rm.c:66:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rns.o CC file_rpm.o ../../src/file_rns.c: In function 'header_check_rns': ../../src/file_rns.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_rns.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rns.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rns.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_rpm.c: In function 'header_check_rpm': ../../src/file_rpm.c:88:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 88 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rpm.c:88:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 88 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rpm.c:88:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 88 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rw2.o CC file_rx2.o ../../src/file_rw2.c: In function 'header_check_rw2': ../../src/file_rw2.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rw2.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_rx2.c: In function 'header_check_rx2': ../../src/file_rx2.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_rx2.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_rx2.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_save.o CC file_sdsk.o ../../src/file_save.c: In function 'header_check_save': ../../src/file_save.c:56:51: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_save.c:56:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_save.c:56:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_save.c:56:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_sdsk.c: In function 'header_check_sdsk': ../../src/file_sdsk.c:56:51: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_sdsk.c:56:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sdsk.c:56:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sdsk.c:56:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ses.o CC file_sgcta.o ../../src/file_ses.c: In function 'header_check_ses': ../../src/file_ses.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_ses.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_ses.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ses.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_sgcta.c: In function 'header_check_sgcta': ../../src/file_sgcta.c:56:52: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_sgcta.c:56:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sgcta.c:56:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sgcta.c:56:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_shn.o CC file_sib.o ../../src/file_shn.c: In function 'header_check_shn': ../../src/file_shn.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_shn.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_shn.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_shn.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_sib.c: In function 'header_check_sib': ../../src/file_sib.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_sib.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sib.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sib.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sig.o CC file_sit.o ../../src/file_sit.c: In function 'header_check_sit': ../../src/file_sit.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_sit.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sit.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sit.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_sig.c: In function 'header_check_sig': ../../src/file_sig.c:119:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 119 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sig.c:119:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 119 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sig.c:119:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 119 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from ../../src/file_sig.c:39: ../../src/file_sig.c: In function 'parse_signature_file': ../../src/file_sig.c:244:31: warning: array subscript has type 'char' [-Wchar-subscripts] 244 | while(*pos!='\0' && !isspace(*pos)) | ^~~~ ../../src/file_sig.c:253:21: warning: array subscript has type 'char' [-Wchar-subscripts] 253 | while(isspace(*pos)) | ^~~~ ../../src/file_sig.c:273:13: warning: array subscript has type 'char' [-Wchar-subscripts] 273 | if(isspace(*pos) || *pos=='\r' || *pos==',') | ^~~~ ../../src/file_sig.c:373:19: warning: array subscript has type 'char' [-Wchar-subscripts] 373 | while(isxdigit(*pos) && isxdigit(*(pos+1))) | ^~~~ ../../src/file_sig.c:373:37: warning: array subscript has type 'char' [-Wchar-subscripts] 373 | while(isxdigit(*pos) && isxdigit(*(pos+1))) | ^~~~~~~~ CC file_skd.o ../../src/file_skd.c: In function 'header_check_skd': ../../src/file_skd.c:55:50: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_skd.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_skd.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_skd.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_skp.o ../../src/file_skp.c: In function 'header_check_skp': ../../src/file_skp.c:56:50: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_skp.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_skp.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_skp.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_snag.o ../../src/file_snag.c: In function 'header_check_snag': ../../src/file_snag.c:70:51: warning: unused parameter 'buffer' [-Wunused-parameter] 70 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_snag.c:70:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_snag.c:70:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_snag.c:70:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sp3.o CC file_spe.o ../../src/file_sp3.c: In function 'header_check_sp3': ../../src/file_sp3.c:134:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 134 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sp3.c:134:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 134 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sp3.c:134:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 134 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_spe.c: In function 'header_check_spe': ../../src/file_spe.c:287:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 287 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_spe.c:287:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 287 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_spf.o ../../src/file_spf.c: In function 'header_check_spf': ../../src/file_spf.c:114:50: warning: unused parameter 'buffer' [-Wunused-parameter] 114 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_spf.c:114:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 114 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_spf.c:114:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 114 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_spf.c:114:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 114 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_spss.o CC file_sql.o ../../src/file_spss.c: In function 'header_check_spss': ../../src/file_spss.c:57:51: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_spss.c:57:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_spss.c:57:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_spss.c:57:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_sql.c: In function 'header_check_sqlite': ../../src/file_sql.c:86:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sql.c:86:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sql.c:86:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sqm.o CC file_steuer2014.o ../../src/file_sqm.c: In function 'header_check_sqm': ../../src/file_sqm.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_sqm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_sqm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_sqm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_stl.o ../../src/file_steuer2014.c: In function 'header_check_steuer': ../../src/file_steuer2014.c:78:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 78 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_steuer2014.c:78:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 78 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_steuer2014.c:78:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 78 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_stl.c: In function 'header_check_stl': ../../src/file_stl.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_stl.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_stl.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_stu.o CC file_studio.o ../../src/file_stu.c: In function 'header_check_stuffit': ../../src/file_stu.c:58:54: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_stu.c:58:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_stu.c:58:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_stu.c:58:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_studio.c: In function 'header_check_studio': CC file_swf.o ../../src/file_studio.c:65:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_studio.c:65:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_studio.c:65:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tar.o ../../src/file_swf.c: In function 'header_check_swfc': ../../src/file_swf.c:163:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 163 | d_stream.next_in = (Bytef*)buffer_compr; | ^ ../../src/file_swf.c:138:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 138 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_swf.c:138:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 138 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_swf.c: In function 'header_check_swf': ../../src/file_swf.c:230:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 230 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_swf.c:230:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 230 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_swf.c:230:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 230 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_swf.c: In function 'header_check_swfz': ../../src/file_swf.c:283:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 283 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_swf.c:283:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 283 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_swf.c:283:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 283 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_tar.c: In function 'header_check_tar': ../../src/file_tar.c:119:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 119 | static int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tar.c:119:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 119 | static int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_tax.o ../../src/file_tax.c: In function 'header_check_tax': ../../src/file_tax.c:58:50: warning: unused parameter 'buffer' [-Wunused-parameter] 58 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_tax.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tax.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tax.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tg.o CC file_tib.o ../../src/file_tg.c: In function 'header_check_tg': ../../src/file_tg.c:57:49: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_tg.c:57:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tg.c:57:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tg.c:57:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_tib.c: In function 'header_check_tib': ../../src/file_tib.c:145:50: warning: unused parameter 'buffer' [-Wunused-parameter] 145 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_tib.c:145:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 145 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tib.c:145:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 145 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tib.c:145:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 145 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_tib.c: In function 'header_check_tib2': ../../src/file_tib.c:163:51: warning: unused parameter 'buffer' [-Wunused-parameter] 163 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_tib.c:163:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 163 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tib.c:163:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 163 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tib.c:163:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 163 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tiff.o CC file_tiff_be.o CC file_tiff_le.o ../../src/file_tiff_be.c: In function 'header_check_tiff_be': ../../src/file_tiff_be.c:777:106: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 777 | int header_check_tiff_be(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tiff_le.c: In function 'header_check_tiff_le': ../../src/file_tiff_le.c:776:106: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 776 | int header_check_tiff_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_tivo.o CC file_torrent.o ../../src/file_tivo.c: In function 'header_check_tivo': ../../src/file_tivo.c:74:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tivo.c:74:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tivo.c:74:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_torrent.c: In function 'header_check_torrent': ../../src/file_torrent.c:57:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_torrent.c:57:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_torrent.c:57:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tph.o CC file_tpl.o ../../src/file_tph.c: In function 'header_check_tph': ../../src/file_tph.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tph.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tph.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_tpl.c: In function 'header_check_tpl': ../../src/file_tpl.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/file_tpl.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_tpl.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_tpl.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ttf.o CC file_txt.o ../../src/file_ttf.c: In function 'header_check_ttf': ../../src/file_ttf.c:109:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 109 | if((16<cmd_run[0])) | ~~~~~~~~~~~~~~~^~~ CC phnc.o CC phrecn.o CC ppartseln.o CC psearchn.o CC suspend_no.o ../../src/suspend_no.c: In function 'suspend_memory': ../../src/suspend_no.c:17:34: warning: unused parameter 'cinfo' [-Wunused-parameter] 17 | void suspend_memory(j_common_ptr cinfo) { | ~~~~~~~~~~~~~^~~~~ ../../src/suspend_no.c: In function 'resume_memory': ../../src/suspend_no.c:20:32: warning: unused parameter 'cinfo' [-Wunused-parameter] 20 | int resume_memory(j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ /usr/bin/x86_64-pc-cygwin-windres --include-dir ../../src ../../src/icon_ph.rc icon_ph.o CC fidentify.o CCLD testdisk.exe CCLD fidentify.exe CCLD photorec.exe make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/src' make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' make[1]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' make: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sGkjbL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64 + cd cygwin-testdisk-7.2 + rm -rf /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64 + run_cygwin_make install DESTDIR=/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64 + make -C build_32bit install DESTDIR=/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64 make: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' Making install in icons make[1]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/icons' make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/icons' make[2]: Nothing to be done for `install-exec-am'. make install-data-hook make[3]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/icons' make[3]: Nothing to be done for `install-data-hook'. make[3]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/icons' make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/icons' make[1]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/icons' Making install in man make[1]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man' Making install in zh_CN make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man/zh_CN' make[3]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man/zh_CN' make[3]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/share/man/zh_CN/man8' /usr/bin/install -c -m 644 'testdisk.8' '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/share/man/zh_CN/man8/i686-pc-cygwin-testdisk.8' /usr/bin/install -c -m 644 'photorec.8' '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/share/man/zh_CN/man8/i686-pc-cygwin-photorec.8' /usr/bin/install -c -m 644 'fidentify.8' '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/share/man/zh_CN/man8/i686-pc-cygwin-fidentify.8' make[3]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man/zh_CN' make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man/zh_CN' make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man' make[3]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man' make[3]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/share/man/man8' /usr/bin/install -c -m 644 'testdisk.8' '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/share/man/man8/i686-pc-cygwin-testdisk.8' /usr/bin/install -c -m 644 'photorec.8' '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/share/man/man8/i686-pc-cygwin-photorec.8' /usr/bin/install -c -m 644 'fidentify.8' '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/share/man/man8/i686-pc-cygwin-fidentify.8' make[3]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man' make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man' make[1]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man' Making install in src make[1]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/src' make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/bin' /usr/bin/install -c testdisk.exe '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/bin/./i686-pc-cygwin-testdisk.exe' /usr/bin/install -c photorec.exe '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/bin/./i686-pc-cygwin-photorec.exe' /usr/bin/install -c fidentify.exe '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/bin/./i686-pc-cygwin-fidentify.exe' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/src' make[1]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/src' make[1]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' make[2]: Nothing to be done for `install-exec-am'. make install-data-hook make[3]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' /bin/sh /builddir/build/BUILD/cygwin-testdisk-7.2/config/install-sh -d /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/share/doc/testdisk /usr/bin/install -c -m 644 ../AUTHORS ../ChangeLog ../NEWS ../README.md ../THANKS ../documentation.html /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/share/doc/testdisk make[3]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' make[1]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' make: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' + make -C build_64bit install DESTDIR=/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64 make: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' Making install in icons make[1]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/icons' make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/icons' make[2]: Nothing to be done for `install-exec-am'. make install-data-hook make[3]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/icons' make[3]: Nothing to be done for `install-data-hook'. make[3]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/icons' make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/icons' make[1]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/icons' Making install in man make[1]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man' Making install in zh_CN make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man/zh_CN' make[3]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man/zh_CN' make[3]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/share/man/zh_CN/man8' /usr/bin/install -c -m 644 'testdisk.8' '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/share/man/zh_CN/man8/x86_64-pc-cygwin-testdisk.8' /usr/bin/install -c -m 644 'photorec.8' '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/share/man/zh_CN/man8/x86_64-pc-cygwin-photorec.8' /usr/bin/install -c -m 644 'fidentify.8' '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/share/man/zh_CN/man8/x86_64-pc-cygwin-fidentify.8' make[3]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man/zh_CN' make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man/zh_CN' make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man' make[3]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man' make[3]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/share/man/man8' /usr/bin/install -c -m 644 'testdisk.8' '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/share/man/man8/x86_64-pc-cygwin-testdisk.8' /usr/bin/install -c -m 644 'photorec.8' '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/share/man/man8/x86_64-pc-cygwin-photorec.8' /usr/bin/install -c -m 644 'fidentify.8' '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/share/man/man8/x86_64-pc-cygwin-fidentify.8' make[3]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man' make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man' make[1]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/man' Making install in src make[1]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/src' make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/bin' /usr/bin/install -c testdisk.exe '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/bin/./x86_64-pc-cygwin-testdisk.exe' /usr/bin/install -c photorec.exe '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/bin/./x86_64-pc-cygwin-photorec.exe' /usr/bin/install -c fidentify.exe '/builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/bin/./x86_64-pc-cygwin-fidentify.exe' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/src' make[1]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit/src' make[1]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' make[2]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' make[2]: Nothing to be done for `install-exec-am'. make install-data-hook make[3]: Entering directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' /bin/sh /builddir/build/BUILD/cygwin-testdisk-7.2/config/install-sh -d /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/share/doc/testdisk /usr/bin/install -c -m 644 ../AUTHORS ../ChangeLog ../NEWS ../README.md ../THANKS ../documentation.html /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/share/doc/testdisk make[3]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' make[2]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' make[1]: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' make: Leaving directory `/builddir/build/BUILD/cygwin-testdisk-7.2/build_64bit' + /usr/lib/rpm/cygwin-find-debuginfo.sh /builddir/build/BUILD/cygwin-testdisk-7.2 cygwin32 cygwin64 extracting debug info from /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/bin/x86_64-pc-cygwin-fidentify.exe ~/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/bin ~/build/BUILD/cygwin-testdisk-7.2 /usr/lib/rpm/cygwin-find-debuginfo.sh: line 29: cygwin-nm: command not found ~/build/BUILD/cygwin-testdisk-7.2 extracting debug info from /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/bin/x86_64-pc-cygwin-photorec.exe ~/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/bin ~/build/BUILD/cygwin-testdisk-7.2 /usr/lib/rpm/cygwin-find-debuginfo.sh: line 29: cygwin-nm: command not found ~/build/BUILD/cygwin-testdisk-7.2 extracting debug info from /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/bin/x86_64-pc-cygwin-testdisk.exe ~/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/bin ~/build/BUILD/cygwin-testdisk-7.2 /usr/lib/rpm/cygwin-find-debuginfo.sh: line 29: cygwin-nm: command not found ~/build/BUILD/cygwin-testdisk-7.2 extracting debug info from /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/bin/i686-pc-cygwin-fidentify.exe ~/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/bin ~/build/BUILD/cygwin-testdisk-7.2 /usr/lib/rpm/cygwin-find-debuginfo.sh: line 29: cygwin-nm: command not found ~/build/BUILD/cygwin-testdisk-7.2 extracting debug info from /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/bin/i686-pc-cygwin-photorec.exe ~/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/bin ~/build/BUILD/cygwin-testdisk-7.2 /usr/lib/rpm/cygwin-find-debuginfo.sh: line 29: cygwin-nm: command not found ~/build/BUILD/cygwin-testdisk-7.2 extracting debug info from /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/bin/i686-pc-cygwin-testdisk.exe ~/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/bin ~/build/BUILD/cygwin-testdisk-7.2 /usr/lib/rpm/cygwin-find-debuginfo.sh: line 29: cygwin-nm: command not found ~/build/BUILD/cygwin-testdisk-7.2 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive cygwin-strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: cygwin32-testdisk-7.2-0.el7.noarch Finding Provides: /usr/lib/rpm/cygwin-find-provides.sh cygwin32 cygwin64 Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /usr/lib/rpm/cygwin-find-requires.sh cygwin32 cygwin64 Provides: cygwin32-testdisk = 7.2-0.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: cygwin32(cygewf-2.dll) cygwin32(cyggcc_s-1.dll) cygwin32(cygiconv-2.dll) cygwin32(cygjpeg-8.dll) cygwin32(cygncursesw-10.dll) cygwin32(cygwin1.dll) cygwin32(cygz.dll) cygwin32(kernel32.dll) cygwin32-filesystem >= 8 Processing files: cygwin64-testdisk-7.2-0.el7.noarch Finding Provides: /usr/lib/rpm/cygwin-find-provides.sh cygwin32 cygwin64 Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /usr/lib/rpm/cygwin-find-requires.sh cygwin32 cygwin64 Provides: cygwin64-testdisk = 7.2-0.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: cygwin64(cygewf-2.dll) cygwin64(cyggcc_s-seh-1.dll) cygwin64(cygiconv-2.dll) cygwin64(cygjpeg-8.dll) cygwin64(cygncursesw-10.dll) cygwin64(cygwin1.dll) cygwin64(cygz.dll) cygwin64(kernel32.dll) cygwin64-filesystem >= 8 Processing files: cygwin32-testdisk-debuginfo-7.2-0.el7.noarch Finding Provides: /usr/lib/rpm/cygwin-find-provides.sh cygwin32 cygwin64 Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /usr/lib/rpm/cygwin-find-requires.sh cygwin32 cygwin64 Provides: cygwin32-testdisk-debuginfo = 7.2-0.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Processing files: cygwin64-testdisk-debuginfo-7.2-0.el7.noarch Finding Provides: /usr/lib/rpm/cygwin-find-provides.sh cygwin32 cygwin64 Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /usr/lib/rpm/cygwin-find-requires.sh cygwin32 cygwin64 Provides: cygwin64-testdisk-debuginfo = 7.2-0.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64 Wrote: /builddir/build/RPMS/cygwin32-testdisk-7.2-0.el7.noarch.rpm Wrote: /builddir/build/RPMS/cygwin64-testdisk-7.2-0.el7.noarch.rpm Wrote: /builddir/build/RPMS/cygwin32-testdisk-debuginfo-7.2-0.el7.noarch.rpm Wrote: /builddir/build/RPMS/cygwin64-testdisk-debuginfo-7.2-0.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0hipw6 + umask 022 + cd /builddir/build/BUILD + cd cygwin-testdisk-7.2 + rm -rf /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el7.x86_64 + exit 0 Child return code was: 0