Mock Version: 2.5 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-1600007679.321573/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.bhekd7ln:/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.bhekd7ln:/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', '7acf4c67ba564713955af0b9f05c69c2', '-D', '/var/lib/mock/epel-7-x86_64-1600007679.321573/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bhekd7ln:/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', '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-1600007679.321573/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.bhekd7ln:/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.bhekd7ln:/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', 'd53bd90f8ffa4d19be2366bc2b6e0d38', '-D', '/var/lib/mock/epel-7-x86_64-1600007679.321573/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bhekd7ln:/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', '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.So5jo1 + 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.jPkR0l + 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:62: warning: '%'-style pattern rules are a GNU make extension Makefile.am:65: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:435: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:444: warning: frama-c -print-path: non-POSIX variable name src/Makefile.am:444: (probably a GNU make extension) src/Makefile.am:458: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:462: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:482: warning: type)!= -1) | ^~ 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:314:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 314 | 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 ../../src/geometryn.c: In function 'change_geometry_ncurses': ../../src/geometryn.c:114:40: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 114 | 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:294:40: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 294 | mft_record_size / cluster_size : -(testdisk_ffs(mft_record_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/ntfs_adv.c:296:41: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 296 | 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) | ~~~~~~~~~~^~~~~~~ CC setdate.o /usr/bin/i686-pc-cygwin-windres --include-dir ../../src ../../src/icon_tst.rc icon_tst.o CC next.o CC phmain.o CC photorec.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 phcfg.o 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 ../../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 dfxml.o CC fat_unformat.o CC pbanner.o CC pblocksize.o CC pdiskseln.o CC pfree_whole.o CC phbf.o CC phbs.o CC phcli.o In file included from ../../src/phcli.c:33: ../../src/phcli.c: In function 'menu_photorec_cli': ../../src/phcli.c:249:36: warning: array subscript has type 'char' [-Wchar-subscripts] 249 | else if(isdigit(params->cmd_run[0])) | ~~~~~~~~~~~~~~~^~~ CC phnc.o CC phrecn.o CC ppartseln.o CC psearchn.o CC filegen.o ../../src/filegen.c: In function 'data_check_size': ../../src/filegen.c:330:51: warning: unused parameter 'buffer' [-Wunused-parameter] 330 | 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:544:15: warning: array subscript has type 'char' [-Wchar-subscripts] 544 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:544:33: warning: array subscript has type 'char' [-Wchar-subscripts] 544 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:544:51: warning: array subscript has type 'char' [-Wchar-subscripts] 544 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:544:69: warning: array subscript has type 'char' [-Wchar-subscripts] 544 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c: In function '_file_rename_unicode': ../../src/filegen.c:673:15: warning: array subscript has type 'char' [-Wchar-subscripts] 673 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:673:33: warning: array subscript has type 'char' [-Wchar-subscripts] 673 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:673:51: warning: array subscript has type 'char' [-Wchar-subscripts] 673 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:673:69: warning: array subscript has type 'char' [-Wchar-subscripts] 673 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ CC file_list.o CC file_1cd.o ../../src/file_1cd.c: In function 'header_check_1cd': ../../src/file_1cd.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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 CC file_7z.o ../../src/file_3ds.c: In function 'header_check_3ds': ../../src/file_3ds.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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_7z.c: In function 'header_check_7z': ../../src/file_7z.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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 CC file_a.o ../../src/file_DB.c: In function 'header_check_DB': ../../src/file_DB.c:44:49: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_a.c: In function 'header_check_a': ../../src/file_a.c:56:75: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:107: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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 CC file_abr.o ../../src/file_ab.c: In function 'header_check_addressbook': ../../src/file_ab.c:85:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 85 | 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:85:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 85 | 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:85:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 85 | 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_abr.c: In function 'header_check_abr': ../../src/file_abr.c:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | 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:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_acb.o ../../src/file_acb.c: In function 'header_check_acb': ../../src/file_acb.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_ado.c: In function 'header_check_ado': ../../src/file_ado.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_ace.c: In function 'header_check_ace': ../../src/file_ace.c:238:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 238 | 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:238:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 238 | 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:238:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 238 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_afdesign.o ../../src/file_afdesign.c: In function 'header_check_afdesign': ../../src/file_afdesign.c:64:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | 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:64:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | 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:64:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | 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 CC file_aif.o ../../src/file_ahn.c: In function 'header_check_ahn': ../../src/file_ahn.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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 CC file_als.o ../../src/file_all.c: In function 'header_check_all': ../../src/file_all.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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_als.c: In function 'header_check_als': ../../src/file_als.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_amd.o CC file_amr.o ../../src/file_amd.c: In function 'header_check_amd': ../../src/file_amd.c:48:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 48 | 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:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 48 | 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 48 | 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:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | 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:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | 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:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | 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_apa.o ../../src/file_amr.c: In function 'header_check_amr': ../../src/file_amr.c:88:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 88 | 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:88:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 88 | 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:88:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 88 | 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:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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_apple.c: In function 'header_check_apple': ../../src/file_apple.c:44:52: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_ape.c: In function 'header_check_ape': ../../src/file_ape.c:102:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 102 | 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:102:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 102 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ari.o CC file_arj.o ../../src/file_ari.c: In function 'header_check_ari': ../../src/file_ari.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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:154:32: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 154 | if(file_recovery_new->time < le32(arj->mtime)) | ^ ../../src/file_arj.c:126:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 126 | 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:126:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 126 | 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:126:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 126 | 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:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | 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:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:57:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:82:50: warning: unused parameter 'buffer' [-Wunused-parameter] 82 | 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:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | 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:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | 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:82:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 82 | 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:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | 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:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | 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:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | 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:129:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 129 | 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:129:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 129 | 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:129:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 129 | 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_berkeley.o CC file_bdm.o ../../src/file_bdm.c: In function 'header_check_bdm': ../../src/file_berkeley.c: In function 'header_check_berkeley_le': ../../src/file_bdm.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:58: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_bfa.c: In function 'header_check_bfa': ../../src/file_bfa.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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: In function 'header_check_bim': ../../src/file_bim.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:45:53: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:224:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 224 | 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:224:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 224 | 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:224:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 224 | 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:106:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 106 | 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:106:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | 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:106:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | 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:112:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 112 | 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:112:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 112 | 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:64:50: warning: unused parameter 'buffer' [-Wunused-parameter] 64 | 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:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | 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:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_caf.c: In function 'header_check_caf': ../../src/file_caf.c:101:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 101 | 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:101:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 101 | 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:101:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 101 | 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:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:57: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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 ../../src/file_catdrawing.c:45:84: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:157: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:88:50: warning: unused parameter 'buffer' [-Wunused-parameter] 88 | 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:88:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 88 | 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:88:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 88 | 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:88:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 88 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:62:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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:46:49: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:45:55: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:78:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 78 | 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:78:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 78 | 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:78:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 78 | 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:91:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 91 | 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:91:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 91 | 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:91:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 91 | 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_compress.c:45:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cpi.o CC file_crw.o ../../src/file_cpi.c: In function 'header_check_cpi': ../../src/file_cpi.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_crw.c: In function 'header_check_crw': ../../src/file_crw.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_csh.o CC file_ctg.o ../../src/file_csh.c: In function 'header_check_csh': ../../src/file_csh.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_cwk.o ../../src/file_ctg.c: In function 'header_check_ctg': ../../src/file_ctg.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_d2s.o ../../src/file_cwk.c: In function 'header_check_cwk': ../../src/file_cwk.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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_d2s.c: In function 'header_check_d2s': ../../src/file_d2s.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dad.o CC file_dar.o ../../src/file_dad.c: In function 'header_check_dad': ../../src/file_dar.c: In function 'header_check_dar': ../../src/file_dar.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_dad.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | 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:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | 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_dat.o CC file_dbf.o ../../src/file_dat.c: In function 'header_check_dat': ../../src/file_dat.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:53:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:67:86: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | 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:67:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | 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:67:159: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | 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:77:87: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | 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:77:119: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | 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:77:160: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:95:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 95 | 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:95:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 95 | 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:95:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 95 | 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:105:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 105 | 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_dex.c: In function 'header_check_dex': ../../src/file_dex.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | 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:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | 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:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | 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:105:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 105 | 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:105:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 105 | 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:115:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 115 | 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:115:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 115 | 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:115:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 115 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:84:60: warning: unused parameter 'buffer' [-Wunused-parameter] 84 | 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:100:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 100 | 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:100:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 100 | 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:100:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 100 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_doc.c: In function 'OLE_load_FAT': ../../src/file_doc.c:423:29: warning: pointer targets in passing argument 2 of 'OLE_read_block' differ in signedness [-Wpointer-sign] 423 | if(OLE_read_block(IN, data, uSectorShift, block, offset) < 0) | ^~~~ | | | unsigned char * ../../src/file_doc.c:123:43: note: expected 'char *' but argument is of type 'unsigned char *' 123 | static int OLE_read_block(FILE *IN, char *buf, const unsigned int uSectorShift, const unsigned int block, const uint64_t offset) | ~~~~~~^~~ CC file_dpx.o ../../src/file_doc.c: In function 'header_check_doc': ../../src/file_doc.c:1697:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 1697 | 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:1697:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 1697 | 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:82:66: warning: pointer targets in passing argument 1 of 'get_time_from_YYYY_MM_DD_HH_MM_SS' differ in signedness [-Wpointer-sign] 82 | 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:310:63: note: expected 'const unsigned char *' but argument is of type 'const char *' 310 | time_t get_time_from_YYYY_MM_DD_HH_MM_SS(const unsigned char *date_asc); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../src/file_dpx.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | 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:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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_ds2.o In file included from ../../src/file_ds2.c:33: ../../src/file_ds2.c: In function 'header_check_ds2': ../../src/file_ds2.c:64:25: warning: array subscript has type 'char' [-Wchar-subscripts] 64 | if(!isdigit(date_asc[i])) | ~~~~~~~~^~~ ../../src/file_ds2.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | 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:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | 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:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | 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:56:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_dss.c:33: ../../src/file_dss.c: In function 'header_check_dss': ../../src/file_dss.c:67:25: warning: array subscript has type 'char' [-Wchar-subscripts] 67 | if(!isdigit(date_asc[i])) | ~~~~~~~~^~~ ../../src/file_dss.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1760:11: note: called from here 1760 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1764:11: note: called from here 1764 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1768:11: note: called from here 1768 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1769:7: note: called from here 1769 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1770:7: note: called from here 1770 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1771:7: note: called from here 1771 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1775:11: note: called from here 1775 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1779:11: note: called from here 1779 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1783:11: note: called from here 1783 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1787:11: note: called from here 1787 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1791:11: note: called from here 1791 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1795:11: note: called from here 1795 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1799:11: note: called from here 1799 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1800:10: note: called from here 1800 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1804:11: note: called from here 1804 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/file_dst.c: In function 'header_check_dst': ../../src/file_dst.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:127:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 127 | 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:127:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 127 | 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:127:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 127 | 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:153:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 153 | 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:153:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 153 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:48:50: warning: unused parameter 'buffer' [-Wunused-parameter] 48 | 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:48:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 48 | 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:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 48 | 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 48 | 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:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | 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:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | 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:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | 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:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:72:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | 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:72:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | 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:72:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | 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_elf': ../../src/file_elf.c:121:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 121 | static int header_check_elf(const unsigned char *buffer, const 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:121:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 121 | static int header_check_elf(const unsigned char *buffer, const 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:121:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 121 | static int header_check_elf(const unsigned char *buffer, const 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_ess.c: In function 'header_check_ess': ../../src/file_ess.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_evt.o CC file_evtx.o ../../src/file_evt.c: In function 'header_check_evt': ../../src/file_evt.c:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | 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:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | 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:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | 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:62:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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_exr.c: In function 'header_check_exr': ../../src/file_exr.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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_exe.c: In function 'header_check_exe': ../../src/file_exe.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | 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:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | 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: In function 'parse_StringTable': ../../src/file_exe.c:377:16: warning: variable 'val_len' set but not used [-Wunused-but-set-variable] 377 | unsigned int val_len; | ^~~~~~~ CC file_exs.o ../../src/file_exs.c: In function 'header_check_exs': ../../src/file_exs.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:68:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | 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:68:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | 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:68:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | 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:82:60: warning: unused parameter 'buffer' [-Wunused-parameter] 82 | 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:106:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 106 | 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:106:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | 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:106:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | 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 ../../src/file_ext2.c: In function 'header_check_ext2_fs': ../../src/file_ext2.c:56:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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_fat.o CC file_fbf.o ../../src/file_fat.c: In function 'header_check_fat': ../../src/file_fat.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | 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:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | 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:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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 ../../src/file_fbk.c: In function 'header_check_fbk': ../../src/file_fbk.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fcp.o CC file_fcs.o ../../src/file_fcp.c: In function 'header_check_fcp': ../../src/file_fcp.c:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | 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:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | 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_fcs.c: In function 'header_check_fcs': ../../src/file_fcs.c:150:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 150 | 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:150:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 150 | 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_fdb.o ../../src/file_fdb.c: In function 'header_check_fdb': ../../src/file_fdb.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_fds.o ../../src/file_fds.c: In function 'header_check_fds': ../../src/file_fds.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:47:51: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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_fh5.c: In function 'header_check_fh5': ../../src/file_fh5.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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_filevault.c: In function 'header_check_filevault': ../../src/file_filevault.c:46:56: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fits.o CC file_fit.o ../../src/file_fit.c: In function 'header_check_fit': ../../src/file_fit.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:168:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 168 | 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:168:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 168 | 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:82:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | 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:82:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | 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:82:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 82 | 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:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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:98:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | 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:98:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 98 | 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:98:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 98 | 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:52:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:58:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 58 | if(pos2!=NULL && pos2-buffer > tmp) | ^ ../../src/file_fob.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_freeway.o ../../src/file_fp7.c: In function 'header_check_fp7': ../../src/file_fp7.c:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | 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_freeway.c: In function 'header_check_freeway': ../../src/file_freeway.c:45:54: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_frm.o CC file_fs.o ../../src/file_frm.c: In function 'header_check_frm': ../../src/file_frm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:86:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | 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:86:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | 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:86:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_db': ../../src/file_gho.c:45:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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_gho.c:45:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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_gho.c:45:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_gif.o ../../src/file_gi.c: In function 'header_check_gi': ../../src/file_gi.c:52:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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_gm6.o ../../src/file_gif.c: In function 'header_check_gif': ../../src/file_gif.c:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | 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:46:51: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:62:50: warning: unused parameter 'buffer' [-Wunused-parameter] 62 | 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:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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:70:50: warning: unused parameter 'buffer' [-Wunused-parameter] 70 | 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:70:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | 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:70:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | 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:70:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | 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 CC file_gp5.o ../../src/file_gp2.c: In function 'header_check_gp2': ../../src/file_gp2.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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_gp5.c: In function 'header_check_gp5': ../../src/file_gp5.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gpg.o CC file_gpx.o ../../src/file_gpg.c: In function 'header_check_gpg': ../../src/file_gpg.c:525:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 525 | 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:525:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 525 | 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_gpx.c: In function 'header_check_gpx': ../../src/file_gpx.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | 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:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | 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:86:46: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static void file_check_bgzf(file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gz.c: In function 'header_check_bgzf': ../../src/file_gz.c:90:115: warning: unused parameter 'buffer_size' [-Wunused-parameter] 90 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from ../../src/file_gz.c:42: ../../src/file_gz.c: In function 'header_check_gz': ../../src/common.h:576:21: warning: comparison of distinct pointer types lacks a cast 576 | (void) (&_x == &_y); \ | ^~ ../../src/file_gz.c:179:27: note: in expansion of macro 'td_max' 179 | const unsigned int bs=td_max(512,file_recovery_new->blocksize); | ^~~~~~ ../../src/common.h:577:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 577 | _x > _y ? _x : _y; }) | ^ ../../src/file_gz.c:179:27: note: in expansion of macro 'td_max' 179 | const unsigned int bs=td_max(512,file_recovery_new->blocksize); | ^~~~~~ ../../src/common.h:577:19: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 577 | _x > _y ? _x : _y; }) | ^~ ../../src/file_gz.c:179:27: note: in expansion of macro 'td_max' 179 | const unsigned int bs=td_max(512,file_recovery_new->blocksize); | ^~~~~~ ../../src/file_gz.c:189:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 189 | d_stream.next_in = (Bytef*)buffer_compr; | ^ ../../src/file_gz.c:120:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 120 | 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:117:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 117 | 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:117:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 117 | 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:117:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 117 | 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:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | 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:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | 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:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | 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 ../../src/file_hds.c: In function 'header_check_hds': ../../src/file_hds.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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_hm.o ../../src/file_hfsp.c: In function 'header_check_hfsp': ../../src/file_hfsp.c:47:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:45:49: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | 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:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | 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:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_ibd.c: In function 'header_check_ibd': ../../src/file_ibd.c:53:10: warning: left shift of negative value [-Wshift-negative-value] 53 | ((~(~0 << (DICT_TF_BITS - DICT_TF_FORMAT_SHIFT))) << DICT_TF_FORMAT_SHIFT) | ^~ ../../src/file_ibd.c:82:42: note: in expansion of macro 'DICT_TF_FORMAT_MASK' 82 | const unsigned int format = (flags & DICT_TF_FORMAT_MASK) >> DICT_TF_FORMAT_SHIFT; | ^~~~~~~~~~~~~~~~~~~ ../../src/file_ibd.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | 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_icc.c: In function 'header_check_icc': ../../src/file_icc.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_icns.o CC file_ico.o ../../src/file_icns.c: In function 'header_check_icns': ../../src/file_icns.c:100:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 100 | 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:100:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 100 | 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:100:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 100 | 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:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | 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:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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 ../../src/file_imb.c: In function 'header_check_imb': ../../src/file_imb.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_indd.o CC file_info.o ../../src/file_indd.c: In function 'header_check_indd': ../../src/file_indd.c:115:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 115 | 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:115:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 115 | 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_info.c: In function 'header_check_info': ../../src/file_info.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_db': ../../src/file_iso.c:47:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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_iso.c:47:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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_it.c: In function 'header_check_it': ../../src/file_it.c:72:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | 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:72:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | 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:72:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | 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:46:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:46:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:543:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 543 | 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:728:45: warning: unused parameter 'cinfo' [-Wunused-parameter] 728 | static void my_output_message (j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ ../../src/file_jpg.c: In function 'jpg_term_source': ../../src/file_jpg.c:919:47: warning: unused parameter 'cinfo' [-Wunused-parameter] 919 | static void jpg_term_source (j_decompress_ptr cinfo) | ~~~~~~~~~~~~~~~~~^~~~~ ../../src/file_jpg.c: In function 'jpg_find_error': ../../src/file_jpg.c:1245:118: warning: unused parameter 'checkpoint_offset' [-Wunused-parameter] 1245 | static uint64_t jpg_find_error(struct jpeg_session_struct *jpeg_session, const unsigned int *offsets, const uint64_t checkpoint_offset) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ CC file_kdb.o ../../src/file_jpg.c: In function 'jpg_check_sof0': ../../src/file_jpg.c:1590:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1590 | if(length < 8+h->nbr*3) | ^ ../../src/file_jpg.c: In function 'jpg_save_thumbnail': ../../src/file_jpg.c:1695:105: warning: unused parameter 'nbytes' [-Wunused-parameter] 1695 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:223:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 223 | 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:223:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 223 | 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:45:52: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:51:50: warning: unused parameter 'buffer' [-Wunused-parameter] 51 | 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:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:111:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 111 | 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:111:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 111 | 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:111:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 111 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:113:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 113 | 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:170:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 170 | 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 CC file_max.o ../../src/file_mat.c: In function 'header_check_mat': ../../src/file_mat.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_max.c: In function 'header_check_max': ../../src/file_max.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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_mb.o CC file_mcd.o ../../src/file_mb.c: In function 'header_check_mb': ../../src/file_mb.c:53:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:67:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | 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:67:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | 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:67:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:55:52: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | 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:55:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:62:50: warning: unused parameter 'buffer' [-Wunused-parameter] 62 | 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:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | 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:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | 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:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | 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:105:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 105 | 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:105:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 105 | 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:105:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 105 | 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:98:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | 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:98:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 98 | 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:98:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 98 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:120:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 120 | 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:120:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 120 | 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:164:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 164 | 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:164:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 164 | 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:164:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 164 | 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 ../../src/file_mobi.c: In function 'header_check_mobi': ../../src/file_mobi.c:60:51: warning: unused parameter 'buffer' [-Wunused-parameter] 60 | 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:60:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | 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:60:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | 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:60:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | 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_mov.o CC file_mp3.o ../../src/file_mov.c: In function 'header_check_mov_aux': ../../src/file_mov.c:229:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 229 | 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:462:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 462 | 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:462:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 462 | 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:462:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 462 | 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:517:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 517 | 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 CC file_mpl.o ../../src/file_mpg.c: In function 'header_check_mpg_Pack': ../../src/file_mpg.c:165:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 165 | 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:228:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 228 | 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:269:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 269 | 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:303:120: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 303 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mpl.c: In function 'header_check_mpl': ../../src/file_mpl.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:72:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | 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:72:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | 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:72:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | 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 ../../src/file_msa.c: In function 'header_check_msa': ../../src/file_msa.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mus.o CC file_mxf.o ../../src/file_mus.c: In function 'header_check_mus': ../../src/file_mus.c:51:50: warning: unused parameter 'buffer' [-Wunused-parameter] 51 | 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:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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_mxf.c: In function 'header_check_mxf': ../../src/file_mxf.c:107:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 107 | 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:107:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 107 | 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:107:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 107 | 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_myo.o ../../src/file_myo.c: In function 'header_check_myo': ../../src/file_myo.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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_mysql': ../../src/file_mysql.c:56:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | 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:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | 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:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:181:50: warning: unused parameter 'buffer' [-Wunused-parameter] 181 | 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:181:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 181 | 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:181:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 181 | 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:181:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 181 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | 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:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | 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:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:46:55: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:53:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:48:50: warning: unused parameter 'buffer' [-Wunused-parameter] 48 | 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:48:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 48 | 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:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 48 | 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 48 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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 CC file_pcap.o ../../src/file_par2.c: In function 'header_check_par2': ../../src/file_par2.c:109:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 109 | 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:109:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 109 | 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:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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 ../../src/file_pcb.c: In function 'header_check_pcb': ../../src/file_pcb.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_pct.o CC file_pcx.o ../../src/file_pct.c: In function 'header_check_pct': ../../src/file_pct.c:83:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | 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:83:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 83 | 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:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | 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:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | 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:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | 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:72:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | 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:72:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | 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:72:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | 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:273:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 273 | 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:273:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 273 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | 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:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | 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:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | 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:97:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | 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:97:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | 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:97:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | 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:48:52: warning: unused parameter 'buffer' [-Wunused-parameter] 48 | 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:48:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 48 | 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:48:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 48 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_pnm.c: In function 'header_check_pbm': ../../src/file_pnm.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | 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:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | 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:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | 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_png.c: In function 'header_check_jng': ../../src/file_png.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | 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:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | 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:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | 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:94:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 94 | 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:94:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 94 | 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:94:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 94 | 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:173:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 173 | 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:173:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 173 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_prc.o ../../src/file_prc.c: In function 'header_check_prc': ../../src/file_prc.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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 ../../src/file_prt.c: In function 'header_check_prt': ../../src/file_prt.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ps.o CC file_psb.o ../../src/file_ps.c: In function 'header_check_ps': ../../src/file_ps.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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_psb.c: In function 'header_check_psb': ../../src/file_psb.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | 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:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | 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: In function 'psb_skip_image_data': ../../src/file_psb.c:99:62: warning: unused parameter 'buffer' [-Wunused-parameter] 99 | 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:99:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 99 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_psd.o ../../src/file_psd.c: In function 'header_check_psd': ../../src/file_psd.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | 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:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | 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: In function 'psd_skip_image_data': ../../src/file_psd.c:99:62: warning: unused parameter 'buffer' [-Wunused-parameter] 99 | 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:99:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 99 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_psf.o ../../src/file_psf.c: In function 'header_check_psf': ../../src/file_psf.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:93:50: warning: unused parameter 'buffer' [-Wunused-parameter] 93 | 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:93:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 93 | 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:93:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 93 | 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:93:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 93 | 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:100:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 100 | 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:100:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 100 | 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:100:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 100 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_pyc.o ../../src/file_ptf.c: In function 'header_check_ptf': ../../src/file_ptf.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_pzf.o ../../src/file_pyc.c: In function 'header_check_pyc': ../../src/file_pyc.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:55:50: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:70:50: warning: unused parameter 'buffer' [-Wunused-parameter] 70 | 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:70:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | 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:70:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | 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:70:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | 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:103:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 103 | 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:103:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 103 | 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:142:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 142 | 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:142:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 142 | 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:142:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 142 | 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:157:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 157 | 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:157:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 157 | 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:157:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 157 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_r3d.o ../../src/file_qxd.c: In function 'header_check_qxd': ../../src/file_qxd.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:55:50: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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_r3d.c: In function 'header_check_r3d': ../../src/file_r3d.c:98:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | 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:98:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 98 | 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:98:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 98 | 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:117:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 117 | 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:117:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 117 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_ra.o ../../src/file_r3d.c:117:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 117 | 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:84:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 84 | 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:84:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 84 | 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:84:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 84 | 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_rar.c: In function 'header_check_rar15fmt': ../../src/file_rar.c:54:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:70:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | 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:70:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | 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:70:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | 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_raf.c: In function 'header_check_raf': ../../src/file_raf.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | 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:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | 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:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_raw.o CC file_rdc.o ../../src/file_raw.c: In function 'header_check_raw': ../../src/file_raw.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:73:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | 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:73:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | 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:107:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 107 | 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:107:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 107 | 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:107:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 107 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:217:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 217 | 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:217:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 217 | 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:318:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 318 | 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:318:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 318 | 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:318:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 318 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 48 | 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 48 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:45:52: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_sig.c: In function 'header_check_sig': CC file_sit.o ../../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:48:50: warning: unused parameter 'buffer' [-Wunused-parameter] 48 | 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:48:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 48 | 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:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 48 | 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 48 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:51:51: warning: unused parameter 'buffer' [-Wunused-parameter] 51 | 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:51:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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 ../../src/file_sp3.c: In function 'header_check_sp3': ../../src/file_sp3.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_spe.o ../../src/file_spe.c: In function 'header_check_spe': ../../src/file_spe.c:285:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 285 | 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:285:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 285 | 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:87:50: warning: unused parameter 'buffer' [-Wunused-parameter] 87 | 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:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | 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:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | 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:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | 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:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sqm.o ../../src/file_sql.c: In function 'header_check_sqlite': ../../src/file_sql.c:75:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | 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:75:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | 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:75:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | 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_sqm.c: In function 'header_check_sqm': ../../src/file_sqm.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_steuer2014.o CC file_stl.o ../../src/file_steuer2014.c: In function 'header_check_steuer': ../../src/file_steuer2014.c:62:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:46:54: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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': ../../src/file_studio.c:53:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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_swf.o CC file_tar.o In file included from ../../src/file_tar.c:31: ../../src/file_tar.c: In function 'header_check_tar': ../../src/file_tar.c:80:24: warning: array subscript has type 'char' [-Wchar-subscripts] 80 | if(!isspace(h->chksum[0]) && !((unsigned) (h->chksum[0]) - '0' <= 7)) | ~~~~~~~~~^~~ ../../src/file_tar.c:77:70: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | 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:77:102: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | 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_swf.c: In function 'header_check_swfc': ../../src/file_swf.c:160:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 160 | d_stream.next_in = (Bytef*)buffer_compr; | ^ ../../src/file_swf.c:135:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 135 | 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:135:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 135 | 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:225:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 225 | 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:225:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 225 | 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:225:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 225 | 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:276:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 276 | 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:276:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 276 | 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:276:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 276 | 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_tax.o ../../src/file_tax.c: In function 'header_check_tax': ../../src/file_tax.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:45:49: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:104:50: warning: unused parameter 'buffer' [-Wunused-parameter] 104 | 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:104:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | 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:104:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | 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:104:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | 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:111:51: warning: unused parameter 'buffer' [-Wunused-parameter] 111 | 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:111:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 111 | 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:111:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 111 | 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:111:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 111 | 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:758:106: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 758 | 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:768:106: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 768 | 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:53:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:45:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ttf.c:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_txt.c: In function 'UTF2Lat': ../../src/file_txt.c:525:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 525 | p+2-bufferhandle, | ^ ../../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 fat_common.o CC fatx.o CC f2fs.o CC jfs.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 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 ../../src/ntfs.c: In function 'ntfs_searchattribute': ../../src/ntfs.c:204:25: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 204 | le32(attrib->type)!= -1) | ^~ 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:314:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 314 | 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:294:40: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 294 | mft_record_size / cluster_size : -(testdisk_ffs(mft_record_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/ntfs_adv.c:296:41: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 296 | 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) | ~~~~~~~~~~~~~^~~~ CC exfat_dir.o 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) | ^~~~~~~~~~ ../../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/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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../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; | ^~~~~~~~~~~~~~ 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) | ~~~~~~~~~~^~~~~~~ CC setdate.o /usr/bin/x86_64-pc-cygwin-windres --include-dir ../../src ../../src/icon_tst.rc icon_tst.o CC next.o CC phmain.o CC photorec.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 phcfg.o 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 fat_unformat.o CC pbanner.o CC pblocksize.o CC pdiskseln.o CC pfree_whole.o CC phbf.o CC phbs.o CC phcli.o In file included from ../../src/phcli.c:33: ../../src/phcli.c: In function 'menu_photorec_cli': ../../src/phcli.c:249:36: warning: array subscript has type 'char' [-Wchar-subscripts] 249 | else if(isdigit(params->cmd_run[0])) | ~~~~~~~~~~~~~~~^~~ CC phnc.o CC phrecn.o CC ppartseln.o CC psearchn.o CC filegen.o ../../src/filegen.c: In function 'data_check_size': ../../src/filegen.c:330:51: warning: unused parameter 'buffer' [-Wunused-parameter] 330 | 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:544:15: warning: array subscript has type 'char' [-Wchar-subscripts] 544 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:544:33: warning: array subscript has type 'char' [-Wchar-subscripts] 544 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:544:51: warning: array subscript has type 'char' [-Wchar-subscripts] 544 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:544:69: warning: array subscript has type 'char' [-Wchar-subscripts] 544 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c: In function '_file_rename_unicode': ../../src/filegen.c:673:15: warning: array subscript has type 'char' [-Wchar-subscripts] 673 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:673:33: warning: array subscript has type 'char' [-Wchar-subscripts] 673 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:673:51: warning: array subscript has type 'char' [-Wchar-subscripts] 673 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:673:69: warning: array subscript has type 'char' [-Wchar-subscripts] 673 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ CC file_list.o CC file_1cd.o ../../src/file_1cd.c: In function 'header_check_1cd': ../../src/file_1cd.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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 CC file_7z.o ../../src/file_3ds.c: In function 'header_check_3ds': ../../src/file_3ds.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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_7z.c: In function 'header_check_7z': ../../src/file_7z.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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 CC file_a.o ../../src/file_DB.c: In function 'header_check_DB': ../../src/file_DB.c:44:49: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_ab.o ../../src/file_a.c: In function 'header_check_a': ../../src/file_a.c:56:75: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:107: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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_abr.o ../../src/file_ab.c: In function 'header_check_addressbook': ../../src/file_ab.c:85:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 85 | 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:85:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 85 | 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:85:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 85 | 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_abr.c: In function 'header_check_abr': ../../src/file_abr.c:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | 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:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_acb.o CC file_ace.o ../../src/file_acb.c: In function 'header_check_acb': ../../src/file_acb.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_ado.o ../../src/file_ace.c: In function 'header_check_ace': ../../src/file_ace.c:238:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 238 | 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:238:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 238 | 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:238:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 238 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:64:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | 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:64:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | 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:64:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:48:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 48 | 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:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 48 | 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 48 | 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:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | 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:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | 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:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | 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:88:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 88 | 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:88:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 88 | 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:88:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 88 | 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:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:102:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 102 | 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:102:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 102 | 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:44:52: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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:126:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 126 | 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:126:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 126 | 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:126:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 126 | 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:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | 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:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:57:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:82:50: warning: unused parameter 'buffer' [-Wunused-parameter] 82 | 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:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | 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:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | 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:82:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 82 | 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:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | 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:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | 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:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | 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:129:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 129 | 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:129:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 129 | 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:129:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 129 | 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 ../../src/file_bdm.c: In function 'header_check_bdm': ../../src/file_bdm.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_berkeley.o CC file_bfa.o ../../src/file_berkeley.c: In function 'header_check_berkeley_le': ../../src/file_berkeley.c:45:58: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_bim.o ../../src/file_bfa.c: In function 'header_check_bfa': ../../src/file_bfa.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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 ../../src/file_bim.c: In function 'header_check_bim': ../../src/file_bim.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_binvox.o ../../src/file_bin.c: In function 'header_check_bin': ../../src/file_bin.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:45:53: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:224:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 224 | 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:224:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 224 | 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:224:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 224 | 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:106:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 106 | 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:106:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | 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:106:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | 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:112:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 112 | 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:112:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 112 | 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:64:50: warning: unused parameter 'buffer' [-Wunused-parameter] 64 | 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:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | 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:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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:101:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 101 | 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:101:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 101 | 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:101:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 101 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:57: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:84: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:157: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:88:50: warning: unused parameter 'buffer' [-Wunused-parameter] 88 | 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:88:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 88 | 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:88:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 88 | 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:88:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 88 | 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 CC file_class.o ../../src/file_chm.c: In function 'header_check_chm': ../../src/file_chm.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_class.c: In function 'header_check_class': ../../src/file_class.c:62:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cm.o CC file_compress.o ../../src/file_cm.c: In function 'header_check_cm': ../../src/file_cm.c:46:49: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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_cow.o ../../src/file_compress.c: In function 'header_check_compress': ../../src/file_compress.c:45:55: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cpi.o ../../src/file_cow.c: In function 'header_check_qcow1': ../../src/file_cow.c:78:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 78 | 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:78:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 78 | 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:78:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 78 | 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:91:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 91 | 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:91:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 91 | 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:91:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 91 | 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_cpi.c: In function 'header_check_cpi': ../../src/file_cpi.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_crw.o CC file_csh.o ../../src/file_crw.c: In function 'header_check_crw': ../../src/file_crw.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | 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:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | 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:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:53:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:67:86: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | 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:67:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | 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:67:159: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | 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:77:87: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | 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:77:119: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | 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:77:160: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:95:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 95 | 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:95:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 95 | 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:95:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 95 | 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:105:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 105 | 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:105:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 105 | 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:105:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 105 | 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:115:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 115 | 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:115:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 115 | 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:115:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 115 | 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_dex.c: In function 'header_check_dex': ../../src/file_dex.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | 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:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | 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:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dim.o CC file_dir.o ../../src/file_dim.c: In function 'header_check_dim': ../../src/file_dim.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:84:60: warning: unused parameter 'buffer' [-Wunused-parameter] 84 | 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:100:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 100 | 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:100:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 100 | 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:100:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 100 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dmp.o ../../src/file_djv.c: In function 'header_check_djv': ../../src/file_djv.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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_doc.o ../../src/file_dmp.c: In function 'header_check_dmp': ../../src/file_dmp.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_doc.c: In function 'OLE_load_FAT': ../../src/file_doc.c:423:29: warning: pointer targets in passing argument 2 of 'OLE_read_block' differ in signedness [-Wpointer-sign] 423 | if(OLE_read_block(IN, data, uSectorShift, block, offset) < 0) | ^~~~ | | | unsigned char * ../../src/file_doc.c:123:43: note: expected 'char *' but argument is of type 'unsigned char *' 123 | static int OLE_read_block(FILE *IN, char *buf, const unsigned int uSectorShift, const unsigned int block, const uint64_t offset) | ~~~~~~^~~ ../../src/file_doc.c: In function 'header_check_doc': ../../src/file_doc.c:1697:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 1697 | 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:1697:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 1697 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dpx.o ../../src/file_dpx.c: In function 'header_check_dpx': ../../src/file_dpx.c:82:66: warning: pointer targets in passing argument 1 of 'get_time_from_YYYY_MM_DD_HH_MM_SS' differ in signedness [-Wpointer-sign] 82 | 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:310:63: note: expected 'const unsigned char *' but argument is of type 'const char *' 310 | time_t get_time_from_YYYY_MM_DD_HH_MM_SS(const unsigned char *date_asc); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../src/file_dpx.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | 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:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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_ds2.o In file included from ../../src/file_ds2.c:33: ../../src/file_ds2.c: In function 'header_check_ds2': ../../src/file_ds2.c:64:25: warning: array subscript has type 'char' [-Wchar-subscripts] 64 | if(!isdigit(date_asc[i])) | ~~~~~~~~^~~ ../../src/file_ds2.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | 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:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | 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:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | 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:56:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_dss.c:33: ../../src/file_dss.c: In function 'header_check_dss': ../../src/file_dss.c:67:25: warning: array subscript has type 'char' [-Wchar-subscripts] 67 | if(!isdigit(date_asc[i])) | ~~~~~~~~^~~ ../../src/file_dss.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1760:11: note: called from here 1760 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1764:11: note: called from here 1764 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1768:11: note: called from here 1768 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1769:7: note: called from here 1769 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1770:7: note: called from here 1770 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1771:7: note: called from here 1771 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1775:11: note: called from here 1775 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1779:11: note: called from here 1779 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1783:11: note: called from here 1783 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1787:11: note: called from here 1787 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1791:11: note: called from here 1791 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1795:11: note: called from here 1795 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1799:11: note: called from here 1799 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1800:10: note: called from here 1800 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:40: ../../src/memmem.h:30:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 30 | 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:1804:11: note: called from here 1804 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC file_dst.o ../../src/file_dst.c: In function 'header_check_dst': ../../src/file_dst.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:127:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 127 | 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:127:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 127 | 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:127:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 127 | 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:153:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 153 | 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:153:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 153 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:48:50: warning: unused parameter 'buffer' [-Wunused-parameter] 48 | 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:48:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 48 | 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 ../../src/file_dxf.c:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 48 | 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 48 | 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_e01.c: In function 'header_check_e01': ../../src/file_e01.c:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | 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:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | 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:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_edb.o CC file_ecryptfs.o ../../src/file_edb.c: In function 'header_check_edb': ../../src/file_edb.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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_elf.o ../../src/file_ecryptfs.c: In function 'header_check_ecryptfs': ../../src/file_ecryptfs.c:72:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | 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:72:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | 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:72:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | 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_elf': ../../src/file_elf.c:121:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 121 | static int header_check_elf(const unsigned char *buffer, const 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:121:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 121 | static int header_check_elf(const unsigned char *buffer, const 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:121:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 121 | static int header_check_elf(const unsigned char *buffer, const 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_evtx.c: In function 'header_check_evtx': ../../src/file_evtx.c:62:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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_evt.c: In function 'header_check_evt': ../../src/file_evt.c:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | 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:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | 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:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_exe.o CC file_exr.o ../../src/file_exe.c: In function 'header_check_exe': ../../src/file_exe.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | 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:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | 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: In function 'parse_StringTable': ../../src/file_exe.c:377:16: warning: variable 'val_len' set but not used [-Wunused-but-set-variable] 377 | unsigned int val_len; | ^~~~~~~ ../../src/file_exr.c: In function 'header_check_exr': ../../src/file_exr.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:68:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | 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:68:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | 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:68:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | 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:82:60: warning: unused parameter 'buffer' [-Wunused-parameter] 82 | 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:106:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 106 | 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:106:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | 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:106:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | 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 ../../src/file_ext2.c: In function 'header_check_ext2_fs': ../../src/file_ext2.c:56:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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_fat.o CC file_fbf.o ../../src/file_fat.c: In function 'header_check_fat': ../../src/file_fat.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | 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:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | 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:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | 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:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | 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_fbk.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fcs.o CC file_fdb.o ../../src/file_fcs.c: In function 'header_check_fcs': ../../src/file_fcs.c:150:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 150 | 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:150:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 150 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_fds.o ../../src/file_fds.c: In function 'header_check_fds': ../../src/file_fds.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:47:51: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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_fh5.c: In function 'header_check_fh5': ../../src/file_fh5.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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_filevault.c: In function 'header_check_filevault': ../../src/file_filevault.c:46:56: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fits.o CC file_fit.o ../../src/file_fits.c: In function 'header_check_fits': ../../src/file_fits.c:168:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 168 | 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:168:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 168 | 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_fit.c: In function 'header_check_fit': ../../src/file_fit.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:82:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | 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:82:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | 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:82:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 82 | 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:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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:98:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | 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:98:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 98 | 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:98:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 98 | 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:52:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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_fos.o ../../src/file_fob.c: In function 'header_check_fob': ../../src/file_fob.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | 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:45:54: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:86:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | 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:86:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | 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:86:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_db': ../../src/file_gho.c:45:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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_gho.c:45:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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_gho.c:45:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_gi.c: In function 'header_check_gi': ../../src/file_gi.c:52:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | 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:46:51: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:62:50: warning: unused parameter 'buffer' [-Wunused-parameter] 62 | 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:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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:70:50: warning: unused parameter 'buffer' [-Wunused-parameter] 70 | 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:70:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | 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:70:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | 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:70:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | 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:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:525:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 525 | 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:525:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 525 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | 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:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | 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:86:46: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static void file_check_bgzf(file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gz.c: In function 'header_check_bgzf': ../../src/file_gz.c:90:115: warning: unused parameter 'buffer_size' [-Wunused-parameter] 90 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from ../../src/file_gz.c:42: ../../src/file_gz.c: In function 'header_check_gz': ../../src/common.h:576:21: warning: comparison of distinct pointer types lacks a cast 576 | (void) (&_x == &_y); \ | ^~ ../../src/file_gz.c:179:27: note: in expansion of macro 'td_max' 179 | const unsigned int bs=td_max(512,file_recovery_new->blocksize); | ^~~~~~ ../../src/common.h:577:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 577 | _x > _y ? _x : _y; }) | ^ ../../src/file_gz.c:179:27: note: in expansion of macro 'td_max' 179 | const unsigned int bs=td_max(512,file_recovery_new->blocksize); | ^~~~~~ ../../src/common.h:577:19: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 577 | _x > _y ? _x : _y; }) | ^~ ../../src/file_gz.c:179:27: note: in expansion of macro 'td_max' 179 | const unsigned int bs=td_max(512,file_recovery_new->blocksize); | ^~~~~~ ../../src/file_gz.c:189:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 189 | d_stream.next_in = (Bytef*)buffer_compr; | ^ ../../src/file_gz.c:120:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 120 | 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:117:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 117 | 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:117:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 117 | 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:117:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 117 | 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:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | 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:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | 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:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | 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:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:47:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:45:49: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | 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:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_hr9.c:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ibd.o CC file_icc.o ../../src/file_ibd.c: In function 'header_check_ibd': ../../src/file_ibd.c:53:10: warning: left shift of negative value [-Wshift-negative-value] 53 | ((~(~0 << (DICT_TF_BITS - DICT_TF_FORMAT_SHIFT))) << DICT_TF_FORMAT_SHIFT) | ^~ ../../src/file_ibd.c:82:42: note: in expansion of macro 'DICT_TF_FORMAT_MASK' 82 | const unsigned int format = (flags & DICT_TF_FORMAT_MASK) >> DICT_TF_FORMAT_SHIFT; | ^~~~~~~~~~~~~~~~~~~ ../../src/file_ibd.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | 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_icc.c: In function 'header_check_icc': ../../src/file_icc.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_icns.o CC file_ico.o ../../src/file_icns.c: In function 'header_check_icns': ../../src/file_icns.c:100:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 100 | 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:100:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 100 | 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:100:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 100 | 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:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | 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:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_info.o ../../src/file_indd.c: In function 'header_check_indd': ../../src/file_indd.c:115:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 115 | 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:115:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 115 | 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_info.c: In function 'header_check_info': ../../src/file_info.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_db': ../../src/file_iso.c:47:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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_iso.c:47:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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_it.c: In function 'header_check_it': ../../src/file_it.c:72:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | 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:72:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | 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:72:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | 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:46:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:46:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:543:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 543 | 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:728:45: warning: unused parameter 'cinfo' [-Wunused-parameter] 728 | static void my_output_message (j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ ../../src/file_jpg.c: In function 'jpg_term_source': ../../src/file_jpg.c:919:47: warning: unused parameter 'cinfo' [-Wunused-parameter] 919 | static void jpg_term_source (j_decompress_ptr cinfo) | ~~~~~~~~~~~~~~~~~^~~~~ ../../src/file_jpg.c: In function 'jpg_find_error': ../../src/file_jpg.c:1245:118: warning: unused parameter 'checkpoint_offset' [-Wunused-parameter] 1245 | 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': CC file_kdb.o ../../src/file_jpg.c:1590:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1590 | if(length < 8+h->nbr*3) | ^ ../../src/file_jpg.c: In function 'jpg_save_thumbnail': ../../src/file_jpg.c:1695:105: warning: unused parameter 'nbytes' [-Wunused-parameter] 1695 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:223:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 223 | 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:223:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 223 | 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:45:52: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:51:50: warning: unused parameter 'buffer' [-Wunused-parameter] 51 | 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:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:111:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 111 | 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:111:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 111 | 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:111:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 111 | 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 CC file_m2ts.o ../../src/file_lzo.c: In function 'header_check_lzo': ../../src/file_lzo.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_m2ts.c: In function 'header_check_m2ts': ../../src/file_m2ts.c:113:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 113 | 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:170:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 170 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_max.c: In function 'header_check_max': ../../src/file_max.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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_mb.o CC file_mcd.o ../../src/file_mb.c: In function 'header_check_mb': ../../src/file_mb.c:53:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:67:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | 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:67:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | 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:67:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:55:52: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | 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:55:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:62:50: warning: unused parameter 'buffer' [-Wunused-parameter] 62 | 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:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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_mdb.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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_mdp.o CC file_mfa.o ../../src/file_mdp.c: In function 'header_check_mdp': ../../src/file_mdp.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | 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:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | 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:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | 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:105:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 105 | 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:105:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 105 | 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:105:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 105 | 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:98:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | 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:98:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 98 | 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:98:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 98 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:120:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 120 | 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:120:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 120 | 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:164:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 164 | 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:164:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 164 | 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:164:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 164 | 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:60:51: warning: unused parameter 'buffer' [-Wunused-parameter] 60 | 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:60:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | 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:60:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | 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:60:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | 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:229:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 229 | 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:462:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 462 | 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:462:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 462 | 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:462:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 462 | 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:517:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 517 | 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:165:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 165 | 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:228:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 228 | 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:269:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 269 | 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:303:120: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 303 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:72:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | 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:72:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | 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:72:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | 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_mus.c: In function 'header_check_mus': ../../src/file_mus.c:51:50: warning: unused parameter 'buffer' [-Wunused-parameter] 51 | 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_msa.c: In function 'header_check_msa': ../../src/file_msa.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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:107:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 107 | 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:107:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 107 | 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:107:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 107 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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_mysql': ../../src/file_mysql.c:56:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | 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:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | 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:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:181:50: warning: unused parameter 'buffer' [-Wunused-parameter] 181 | 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:181:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 181 | 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:181:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 181 | 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:181:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 181 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | 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:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | 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:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:46:55: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:53:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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_pap.c: In function 'header_check_pap': ../../src/file_pap.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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_paf.c:48:50: warning: unused parameter 'buffer' [-Wunused-parameter] 48 | 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:48:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 48 | 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:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 48 | 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 48 | 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 CC file_pcap.o ../../src/file_pcap.c: In function 'header_check_pcap': ../../src/file_par2.c: In function 'header_check_par2': ../../src/file_par2.c:109:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 109 | 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:109:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 109 | 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:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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 ../../src/file_pcb.c: In function 'header_check_pcb': ../../src/file_pcb.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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_pct.o ../../src/file_pcb.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:83:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | 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:83:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 83 | 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:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | 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:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | 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:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | 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:72:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | 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:72:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | 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:72:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | 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:273:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 273 | 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:273:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 273 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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 CC file_pgdump.o ../../src/file_pfx.c: In function 'header_check_pfx': ../../src/file_pfx.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | 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:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | 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:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | 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_pgdump.c: In function 'header_check_pgdump': ../../src/file_pgdump.c:97:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | 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:97:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | 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:97:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_plist.o CC file_plr.o ../../src/file_plist.c: In function 'header_check_plist': ../../src/file_plist.c:48:52: warning: unused parameter 'buffer' [-Wunused-parameter] 48 | 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:48:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 48 | 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:48:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 48 | 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_plr.c: In function 'header_check_plr': ../../src/file_plr.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_plt.o CC file_png.o ../../src/file_plt.c: In function 'header_check_plt': ../../src/file_plt.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_png.c: In function 'header_check_jng': ../../src/file_png.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | 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:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | 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:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | 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:94:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 94 | 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:94:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 94 | 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:94:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 94 | 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:173:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 173 | 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:173:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 173 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_pnm.o ../../src/file_pnm.c: In function 'header_check_pbm': ../../src/file_pnm.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | 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:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | 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:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | 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:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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 'header_check_ps': ../../src/file_ps.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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 'header_check_psb': ../../src/file_psb.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | 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:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | 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: In function 'psb_skip_image_data': ../../src/file_psb.c:99:62: warning: unused parameter 'buffer' [-Wunused-parameter] 99 | 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:99:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 99 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_psd.o ../../src/file_psd.c: In function 'header_check_psd': ../../src/file_psd.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | 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:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | 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: In function 'psd_skip_image_data': ../../src/file_psd.c:99:62: warning: unused parameter 'buffer' [-Wunused-parameter] 99 | 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:99:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 99 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_psf.o ../../src/file_psf.c: In function 'header_check_psf': ../../src/file_psf.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:93:50: warning: unused parameter 'buffer' [-Wunused-parameter] 93 | 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:93:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 93 | 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:93:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 93 | 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:93:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 93 | 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:100:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 100 | 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:100:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 100 | 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:100:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 100 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:55:50: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:70:50: warning: unused parameter 'buffer' [-Wunused-parameter] 70 | 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:70:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | 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:70:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | 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:70:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | 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:103:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 103 | 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:103:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 103 | 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:142:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 142 | 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:142:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 142 | 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:142:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 142 | 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:157:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 157 | 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:157:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 157 | 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:157:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 157 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:55:50: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:98:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | 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:98:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 98 | 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:98:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 98 | 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:117:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 117 | 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:117:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 117 | 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:117:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 117 | 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:84:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 84 | 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:84:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 84 | 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:84:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 84 | 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_rar.c: In function 'header_check_rar15fmt': ../../src/file_rar.c:54:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:70:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | 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:70:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | 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:70:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | 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_raf.c: In function 'header_check_raf': ../../src/file_raf.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | 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:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | 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:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_raw.o CC file_rdc.o ../../src/file_raw.c: In function 'header_check_raw': ../../src/file_raw.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_res.c: In function 'header_check_res': ../../src/file_res.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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_reg.c: In function 'header_check_reg_9x': ../../src/file_reg.c:73:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | 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:73:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | 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:107:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 107 | 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:107:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 107 | 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:107:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 107 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:217:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 217 | 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:217:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 217 | 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:318:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 318 | 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:318:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 318 | 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:318:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 318 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 48 | 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 48 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_ses.o ../../src/file_sdsk.c: In function 'header_check_sdsk': ../../src/file_sdsk.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_sgcta.o ../../src/file_ses.c: In function 'header_check_ses': ../../src/file_ses.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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_shn.o ../../src/file_sgcta.c: In function 'header_check_sgcta': ../../src/file_sgcta.c:45:52: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_sit.o ../../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:48:50: warning: unused parameter 'buffer' [-Wunused-parameter] 48 | 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:48:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 48 | 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:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 48 | 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 48 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:51:51: warning: unused parameter 'buffer' [-Wunused-parameter] 51 | 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:51:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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_spe.c: In function 'header_check_spe': ../../src/file_spe.c:285:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 285 | 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:285:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 285 | 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_sp3.c: In function 'header_check_sp3': ../../src/file_sp3.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_spf.o ../../src/file_spf.c: In function 'header_check_spf': ../../src/file_spf.c:87:50: warning: unused parameter 'buffer' [-Wunused-parameter] 87 | 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:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | 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:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | 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:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | 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:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:75:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | 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:75:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | 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:75:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:62:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:46:54: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:53:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:160:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 160 | d_stream.next_in = (Bytef*)buffer_compr; | ^ ../../src/file_swf.c:135:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 135 | 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:135:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 135 | 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:225:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 225 | 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:225:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 225 | 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:225:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 225 | 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:276:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 276 | 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:276:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 276 | 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:276:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 276 | 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 In file included from ../../src/file_tar.c:31: ../../src/file_tar.c: In function 'header_check_tar': ../../src/file_tar.c:80:24: warning: array subscript has type 'char' [-Wchar-subscripts] 80 | if(!isspace(h->chksum[0]) && !((unsigned) (h->chksum[0]) - '0' <= 7)) | ~~~~~~~~~^~~ ../../src/file_tar.c:77:70: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | 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:77:102: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | 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_tax.c: In function 'header_check_tax': ../../src/file_tax.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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_tg.c: In function 'header_check_tg': ../../src/file_tg.c:45:49: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tib.o CC file_tiff.o ../../src/file_tib.c: In function 'header_check_tib': ../../src/file_tib.c:104:50: warning: unused parameter 'buffer' [-Wunused-parameter] 104 | 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:104:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | 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:104:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | 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:104:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | 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:111:51: warning: unused parameter 'buffer' [-Wunused-parameter] 111 | 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:111:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 111 | 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:111:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 111 | 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:111:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 111 | 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:758:106: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 758 | 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:768:106: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 768 | 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:53:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:45:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_ttf.c:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_txt.c: In function 'UTF2Lat': ../../src/file_txt.c:525:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 525 | p+2-buffer= 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.4zsEe5 + 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