Mock Version: 2.3 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-8-x86_64-1594713794.980348/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.uw3gmc4a:/etc/resolv.conf', '--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.uw3gmc4a:/etc/resolv.conf', '--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', 'ed9cca75b7034b1eb448702ae168589f', '-D', '/var/lib/mock/epel-8-x86_64-1594713794.980348/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uw3gmc4a:/etc/resolv.conf', '--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.el8.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-8-x86_64-1594713794.980348/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.uw3gmc4a:/etc/resolv.conf', '--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.uw3gmc4a:/etc/resolv.conf', '--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', 'b65c0a88f95e4891941493f1aa1b904a', '-D', '/var/lib/mock/epel-8-x86_64-1594713794.980348/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uw3gmc4a:/etc/resolv.conf', '--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.imA6uj + 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 -xof - + 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.n88060 + 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:321: installing 'config/compile' 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:429: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:438: warning: frama-c -print-path: non-POSIX variable name src/Makefile.am:438: (probably a GNU make extension) src/Makefile.am:448: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:464: warning: './config/config.sub' + for i in $(find . -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + mkdir build_32bit + pushd build_32bit ~/build/BUILD/cygwin-testdisk-7.2/build_32bit ~/build/BUILD/cygwin-testdisk-7.2 + HOST_CC=gcc + export HOST_CC + PKG_CONFIG_LIBDIR=/usr/i686-pc-cygwin/sys-root/usr/lib/pkgconfig:/usr/i686-pc-cygwin/sys-root/usr/share/pkgconfig:/usr/share/pkgconfig + export PKG_CONFIG_LIBDIR + PKG_CONFIG_SYSTEM_INCLUDE_PATH=/usr/i686-pc-cygwin/sys-root/usr/include + export PKG_CONFIG_SYSTEM_INCLUDE_PATH + PKG_CONFIG_SYSTEM_LIBRARY_PATH=/usr/i686-pc-cygwin/sys-root/usr/lib + export PKG_CONFIG_SYSTEM_LIBRARY_PATH + unset PKG_CONFIG_PATH + _PREFIX=/usr/bin/i686-pc-cygwin- ++ grep -v gcc- ++ ls -1 /usr/bin/i686-pc-cygwin-addr2line /usr/bin/i686-pc-cygwin-ar /usr/bin/i686-pc-cygwin-as /usr/bin/i686-pc-cygwin-c++ /usr/bin/i686-pc-cygwin-c++filt /usr/bin/i686-pc-cygwin-cpp /usr/bin/i686-pc-cygwin-dlltool /usr/bin/i686-pc-cygwin-dllwrap /usr/bin/i686-pc-cygwin-elfedit /usr/bin/i686-pc-cygwin-g++ /usr/bin/i686-pc-cygwin-gcc /usr/bin/i686-pc-cygwin-gcc-9.3.0 /usr/bin/i686-pc-cygwin-gcc-ar /usr/bin/i686-pc-cygwin-gcc-nm /usr/bin/i686-pc-cygwin-gcc-ranlib /usr/bin/i686-pc-cygwin-gcov /usr/bin/i686-pc-cygwin-gcov-dump /usr/bin/i686-pc-cygwin-gcov-tool /usr/bin/i686-pc-cygwin-gprof /usr/bin/i686-pc-cygwin-ld /usr/bin/i686-pc-cygwin-ld.bfd /usr/bin/i686-pc-cygwin-nm /usr/bin/i686-pc-cygwin-objcopy /usr/bin/i686-pc-cygwin-objdump /usr/bin/i686-pc-cygwin-pkg-config /usr/bin/i686-pc-cygwin-ranlib /usr/bin/i686-pc-cygwin-readelf /usr/bin/i686-pc-cygwin-size /usr/bin/i686-pc-cygwin-strings /usr/bin/i686-pc-cygwin-strip /usr/bin/i686-pc-cygwin-windmc /usr/bin/i686-pc-cygwin-windres + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-addr2line + x=ADDR2LINE + declare -x ADDR2LINE=/usr/bin/i686-pc-cygwin-addr2line + export ADDR2LINE + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ echo /usr/bin/i686-pc-cygwin-ar + x=AR + declare -x AR=/usr/bin/i686-pc-cygwin-ar + export AR + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ echo /usr/bin/i686-pc-cygwin-as + x=AS + declare -x AS=/usr/bin/i686-pc-cygwin-as + export AS + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-c++ + x=CXX + declare -x CXX=/usr/bin/i686-pc-cygwin-c++ + export CXX + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ echo /usr/bin/i686-pc-cygwin-c++filt ++ tr a-z+-. A-ZX__ + x=CXXFILT + declare -x CXXFILT=/usr/bin/i686-pc-cygwin-c++filt + export CXXFILT + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-cpp + x=CPP + declare -x CPP=/usr/bin/i686-pc-cygwin-cpp + export CPP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-pc-cygwin-dlltool ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=DLLTOOL + declare -x DLLTOOL=/usr/bin/i686-pc-cygwin-dlltool + export DLLTOOL + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-pc-cygwin-dllwrap ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=DLLWRAP + declare -x DLLWRAP=/usr/bin/i686-pc-cygwin-dllwrap + export DLLWRAP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-pc-cygwin-elfedit ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=ELFEDIT + declare -x ELFEDIT=/usr/bin/i686-pc-cygwin-elfedit + export ELFEDIT + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-pc-cygwin-g++ ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=GXX + declare -x GXX=/usr/bin/i686-pc-cygwin-g++ + export GXX + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-pc-cygwin-gcc ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=GCC + declare -x GCC=/usr/bin/i686-pc-cygwin-gcc + export GCC + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-gcov + x=GCOV + declare -x GCOV=/usr/bin/i686-pc-cygwin-gcov + export GCOV + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-pc-cygwin-gcov-dump ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=GCOV_DUMP + declare -x GCOV_DUMP=/usr/bin/i686-pc-cygwin-gcov-dump + export GCOV_DUMP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-gcov-tool + x=GCOV_TOOL + declare -x GCOV_TOOL=/usr/bin/i686-pc-cygwin-gcov-tool + export GCOV_TOOL + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-pc-cygwin-gprof ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=GPROF + declare -x GPROF=/usr/bin/i686-pc-cygwin-gprof + export GPROF + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-ld + x=LD + declare -x LD=/usr/bin/i686-pc-cygwin-ld + export LD + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-ld.bfd + x=LD_BFD + declare -x LD_BFD=/usr/bin/i686-pc-cygwin-ld.bfd + export LD_BFD + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-nm + x=NM + declare -x NM=/usr/bin/i686-pc-cygwin-nm + export NM + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-objcopy + x=OBJCOPY + declare -x OBJCOPY=/usr/bin/i686-pc-cygwin-objcopy + export OBJCOPY + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-objdump + x=OBJDUMP + declare -x OBJDUMP=/usr/bin/i686-pc-cygwin-objdump + export OBJDUMP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-pc-cygwin-pkg-config ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=PKG_CONFIG + declare -x PKG_CONFIG=/usr/bin/i686-pc-cygwin-pkg-config + export PKG_CONFIG + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-ranlib + x=RANLIB + declare -x RANLIB=/usr/bin/i686-pc-cygwin-ranlib + export RANLIB + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-readelf + x=READELF + declare -x READELF=/usr/bin/i686-pc-cygwin-readelf + export READELF + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-size + x=SIZE + declare -x SIZE=/usr/bin/i686-pc-cygwin-size + export SIZE + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ echo /usr/bin/i686-pc-cygwin-strings + x=STRINGS + declare -x STRINGS=/usr/bin/i686-pc-cygwin-strings + export STRINGS + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ echo /usr/bin/i686-pc-cygwin-strip + x=STRIP + declare -x STRIP=/usr/bin/i686-pc-cygwin-strip + export STRIP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-pc-cygwin-windmc + x=WINDMC + declare -x WINDMC=/usr/bin/i686-pc-cygwin-windmc + export WINDMC + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-pc-cygwin-,, ++ echo /usr/bin/i686-pc-cygwin-windres ++ tr a-z+-. A-ZX__ + x=WINDRES + declare -x WINDRES=/usr/bin/i686-pc-cygwin-windres + export WINDRES + unset _PREFIX + CC=i686-pc-cygwin-gcc + export CC + CFLAGS=' -O2 -g -pipe -Wall' + export CFLAGS + CPPFLAGS= + export CPPFLAGS + '[' -x /usr/bin/i686-pc-cygwin-g++ ']' + CXX=i686-pc-cygwin-g++ + export CXX + CXXFLAGS=' -O2 -g -pipe -Wall' + export CXXFLAGS + LDFLAGS= + export LDFLAGS ++ ls '/usr/bin/[' /usr/bin/aclocal /usr/bin/aclocal-1.16 /usr/bin/addr2line /usr/bin/alias /usr/bin/annocheck /usr/bin/ar /usr/bin/arch /usr/bin/as /usr/bin/autoconf /usr/bin/autoheader /usr/bin/autom4te /usr/bin/automake /usr/bin/automake-1.16 /usr/bin/autoreconf /usr/bin/autoscan /usr/bin/autoupdate /usr/bin/awk /usr/bin/b2sum /usr/bin/base32 /usr/bin/base64 /usr/bin/basename /usr/bin/bash /usr/bin/bashbug /usr/bin/bashbug-64 /usr/bin/bg /usr/bin/bootctl /usr/bin/brotli /usr/bin/built-by /usr/bin/bunzip2 /usr/bin/busctl /usr/bin/bzcat /usr/bin/bzcmp /usr/bin/bzdiff /usr/bin/bzegrep /usr/bin/bzfgrep /usr/bin/bzgrep /usr/bin/bzip2 /usr/bin/bzip2recover /usr/bin/bzless /usr/bin/bzmore /usr/bin/c++ /usr/bin/c++filt /usr/bin/c89 /usr/bin/c99 /usr/bin/ca-legacy /usr/bin/cal /usr/bin/captoinfo /usr/bin/cat /usr/bin/catchsegv /usr/bin/cc /usr/bin/cd /usr/bin/chacl /usr/bin/chage /usr/bin/chcon /usr/bin/check-abi /usr/bin/chgrp /usr/bin/chmem /usr/bin/chmod /usr/bin/chown /usr/bin/chrt /usr/bin/chvt /usr/bin/cksum /usr/bin/clear /usr/bin/cmp /usr/bin/col /usr/bin/colcrt /usr/bin/colrm /usr/bin/column /usr/bin/comm /usr/bin/command /usr/bin/coredumpctl /usr/bin/cp /usr/bin/cpio /usr/bin/cpp /usr/bin/csplit /usr/bin/csslint-0.6 /usr/bin/curl /usr/bin/cut /usr/bin/cygwin-objcopy /usr/bin/cygwin-objdump /usr/bin/cygwin-strip /usr/bin/cygwin32-cmake /usr/bin/cygwin32-configure /usr/bin/cygwin32-make /usr/bin/cygwin32-pkg-config /usr/bin/cygwin64-cmake /usr/bin/cygwin64-configure /usr/bin/cygwin64-make /usr/bin/cygwin64-pkg-config /usr/bin/date /usr/bin/db_archive /usr/bin/db_checkpoint /usr/bin/db_deadlock /usr/bin/db_dump /usr/bin/db_dump185 /usr/bin/db_hotbackup /usr/bin/db_load /usr/bin/db_log_verify /usr/bin/db_printlog /usr/bin/db_recover /usr/bin/db_replicate /usr/bin/db_stat /usr/bin/db_tuner /usr/bin/db_upgrade /usr/bin/db_verify /usr/bin/dbus-cleanup-sockets /usr/bin/dbus-daemon /usr/bin/dbus-monitor /usr/bin/dbus-run-session /usr/bin/dbus-send /usr/bin/dbus-test-tool /usr/bin/dbus-update-activation-environment /usr/bin/dbus-uuidgen /usr/bin/dd /usr/bin/deallocvt /usr/bin/debuginfod-find /usr/bin/df /usr/bin/diff /usr/bin/diff3 /usr/bin/dir /usr/bin/dircolors /usr/bin/dirmngr /usr/bin/dirmngr-client /usr/bin/dirname /usr/bin/dmesg /usr/bin/dracut /usr/bin/du /usr/bin/dumpkeys /usr/bin/dwp /usr/bin/dwz /usr/bin/echo /usr/bin/egrep /usr/bin/eject /usr/bin/elfedit /usr/bin/encguess /usr/bin/env /usr/bin/envsubst /usr/bin/eqn /usr/bin/eu-addr2line /usr/bin/eu-ar /usr/bin/eu-elfclassify /usr/bin/eu-elfcmp /usr/bin/eu-elfcompress /usr/bin/eu-elflint /usr/bin/eu-findtextrel /usr/bin/eu-make-debug-archive /usr/bin/eu-nm /usr/bin/eu-objdump /usr/bin/eu-ranlib /usr/bin/eu-readelf /usr/bin/eu-size /usr/bin/eu-stack /usr/bin/eu-strings /usr/bin/eu-strip /usr/bin/eu-unstrip /usr/bin/evmctl /usr/bin/expand /usr/bin/expr /usr/bin/factor /usr/bin/fallocate /usr/bin/false /usr/bin/fc /usr/bin/fedpkg /usr/bin/fg /usr/bin/fgconsole /usr/bin/fgrep /usr/bin/file /usr/bin/fincore /usr/bin/find /usr/bin/findmnt /usr/bin/fips-finish-install /usr/bin/fips-mode-setup /usr/bin/flock /usr/bin/fmt /usr/bin/fold /usr/bin/free /usr/bin/funzip /usr/bin/g++ /usr/bin/g13 /usr/bin/gapplication /usr/bin/gawk /usr/bin/gcc /usr/bin/gcc-ar /usr/bin/gcc-nm /usr/bin/gcc-ranlib /usr/bin/gcov /usr/bin/gcov-dump /usr/bin/gcov-tool /usr/bin/gdb-add-index /usr/bin/gdbm_dump /usr/bin/gdbm_load /usr/bin/gdbmtool /usr/bin/gdbus /usr/bin/gencat /usr/bin/gendiff /usr/bin/geqn /usr/bin/getconf /usr/bin/getent /usr/bin/getfacl /usr/bin/getkeycodes /usr/bin/getopt /usr/bin/getopts /usr/bin/gettext /usr/bin/gettext.sh /usr/bin/gio /usr/bin/gio-querymodules-64 /usr/bin/glib-compile-schemas /usr/bin/gmake /usr/bin/gneqn /usr/bin/gnroff /usr/bin/gpasswd /usr/bin/gpg /usr/bin/gpg-agent /usr/bin/gpg-connect-agent /usr/bin/gpg-error /usr/bin/gpg-zip /usr/bin/gpg2 /usr/bin/gpgconf /usr/bin/gpgparsemail /usr/bin/gpgsm /usr/bin/gpgsplit /usr/bin/gpgv /usr/bin/gpgv2 /usr/bin/gpic /usr/bin/gprof /usr/bin/grep /usr/bin/groff /usr/bin/grops /usr/bin/grotty /usr/bin/groups /usr/bin/grub2-ed++ grep -- '[-_]config$' itenv /usr/bin/grub2-file /usr/bin/grub2-menulst2cfg /usr/bin/grub2-mkimage /usr/bin/grub2-mkpasswd-pbkdf2 /usr/bin/grub2-mkrelpath /usr/bin/grub2-script-check /usr/bin/gsettings /usr/bin/gsoelim /usr/bin/gtar /usr/bin/gtbl /usr/bin/gtroff /usr/bin/guild /usr/bin/guile /usr/bin/guile-tools /usr/bin/guile2 /usr/bin/guile2-tools /usr/bin/gunzip /usr/bin/gzexe /usr/bin/gzip /usr/bin/hardened /usr/bin/hash /usr/bin/head /usr/bin/hexdump /usr/bin/hostid /usr/bin/hostnamectl /usr/bin/i386 /usr/bin/i686-pc-cygwin-addr2line /usr/bin/i686-pc-cygwin-ar /usr/bin/i686-pc-cygwin-as /usr/bin/i686-pc-cygwin-c++ /usr/bin/i686-pc-cygwin-c++filt /usr/bin/i686-pc-cygwin-cpp /usr/bin/i686-pc-cygwin-dlltool /usr/bin/i686-pc-cygwin-dllwrap /usr/bin/i686-pc-cygwin-elfedit /usr/bin/i686-pc-cygwin-g++ /usr/bin/i686-pc-cygwin-gcc /usr/bin/i686-pc-cygwin-gcc-9.3.0 /usr/bin/i686-pc-cygwin-gcc-ar /usr/bin/i686-pc-cygwin-gcc-nm /usr/bin/i686-pc-cygwin-gcc-ranlib /usr/bin/i686-pc-cygwin-gcov /usr/bin/i686-pc-cygwin-gcov-dump /usr/bin/i686-pc-cygwin-gcov-tool /usr/bin/i686-pc-cygwin-gprof /usr/bin/i686-pc-cygwin-ld /usr/bin/i686-pc-cygwin-ld.bfd /usr/bin/i686-pc-cygwin-nm /usr/bin/i686-pc-cygwin-objcopy /usr/bin/i686-pc-cygwin-objdump /usr/bin/i686-pc-cygwin-pkg-config /usr/bin/i686-pc-cygwin-ranlib /usr/bin/i686-pc-cygwin-readelf /usr/bin/i686-pc-cygwin-size /usr/bin/i686-pc-cygwin-strings /usr/bin/i686-pc-cygwin-strip /usr/bin/i686-pc-cygwin-windmc /usr/bin/i686-pc-cygwin-windres /usr/bin/iconv /usr/bin/id /usr/bin/ifnames /usr/bin/info /usr/bin/infocmp /usr/bin/infotocap /usr/bin/install /usr/bin/ionice /usr/bin/ipcmk /usr/bin/ipcrm /usr/bin/ipcs /usr/bin/isosize /usr/bin/jobs /usr/bin/join /usr/bin/journalctl /usr/bin/kbd_mode /usr/bin/kbdinfo /usr/bin/kbdrate /usr/bin/kbxutil /usr/bin/kernel-install /usr/bin/kill /usr/bin/kmod /usr/bin/last /usr/bin/lastb /usr/bin/lastlog /usr/bin/ld /usr/bin/ld.bfd /usr/bin/ld.gold /usr/bin/ldd /usr/bin/libtool /usr/bin/libtoolize /usr/bin/link /usr/bin/linux-boot-prober /usr/bin/linux32 /usr/bin/linux64 /usr/bin/ln /usr/bin/loadkeys /usr/bin/loadunimap /usr/bin/locale /usr/bin/localectl /usr/bin/localedef /usr/bin/logger /usr/bin/login /usr/bin/loginctl /usr/bin/logname /usr/bin/look /usr/bin/ls /usr/bin/lsblk /usr/bin/lscpu /usr/bin/lsinitrd /usr/bin/lsipc /usr/bin/lslocks /usr/bin/lslogins /usr/bin/lsmem /usr/bin/lsns /usr/bin/m4 /usr/bin/make /usr/bin/make-dummy-cert /usr/bin/makedb /usr/bin/mapscrn /usr/bin/mcookie /usr/bin/md5sum /usr/bin/mesg /usr/bin/mkdir /usr/bin/mkfifo /usr/bin/mkinitrd /usr/bin/mknod /usr/bin/mktemp /usr/bin/more /usr/bin/mount /usr/bin/mountpoint /usr/bin/msgattrib /usr/bin/msgcat /usr/bin/msgcmp /usr/bin/msgcomm /usr/bin/msgconv /usr/bin/msgen /usr/bin/msgexec /usr/bin/msgfilter /usr/bin/msgfmt /usr/bin/msggrep /usr/bin/msginit /usr/bin/msgmerge /usr/bin/msgunfmt /usr/bin/msguniq /usr/bin/mv /usr/bin/namei /usr/bin/neqn /usr/bin/newgidmap /usr/bin/newgrp /usr/bin/newuidmap /usr/bin/ngettext /usr/bin/nice /usr/bin/nl /usr/bin/nm /usr/bin/nohup /usr/bin/nproc /usr/bin/nroff /usr/bin/nsenter /usr/bin/numfmt /usr/bin/objcopy /usr/bin/objdump /usr/bin/od /usr/bin/open /usr/bin/openssl /usr/bin/openvt /usr/bin/os-prober /usr/bin/p11-kit /usr/bin/paste /usr/bin/patch /usr/bin/pathchk /usr/bin/perl /usr/bin/perl5.26.3 /usr/bin/perldoc /usr/bin/pgrep /usr/bin/pic /usr/bin/piconv /usr/bin/pidof /usr/bin/pigz /usr/bin/pinentry /usr/bin/pinentry-curses /usr/bin/pinky /usr/bin/pkg-config /usr/bin/pkgconf /usr/bin/pkill /usr/bin/pldd /usr/bin/pmap /usr/bin/pod2man /usr/bin/pod2text /usr/bin/pod2usage /usr/bin/post-grohtml /usr/bin/pr /usr/bin/pre-grohtml /usr/bin/preconv /usr/bin/printenv /usr/bin/printf /usr/bin/prlimit /usr/bin/ps /usr/bin/psfaddtable /usr/bin/psfgettable /usr/bin/psfstriptable /usr/bin/psfxtable /usr/bin/ptx /usr/bin/pwd /usr/bin/pwdx /usr/bin/pwmake /usr/bin/pwscore /usr/bin/pydoc3.6 /usr/bin/pyvenv-3.6 /usr/bin/pzstd /usr/bin/ranlib /usr/bin/raw /usr/bin/read /usr/bin/readelf /usr/bin/readlink /usr/bin/realpath /usr/bin/recode-sr-latin /usr/bin/rename /usr/bin/renew-dummy-cert /usr/bin/renice /usr/bin/reset /usr/bin/resizecons /usr/bin/resolvectl /usr/bin/rev /usr/bin/rm /usr/bin/rmdir /usr/bin/rpm /usr/bin/rpm2archive /usr/bin/rpm2cpio /usr/bin/rpmbuild /usr/bin/rpmdb /usr/bin/rpmkeys /usr/bin/rpmquery /usr/bin/rpmspec /usr/bin/rpmverify /usr/bin/run-on-binaries-in /usr/bin/runcon /usr/bin/script /usr/bin/scriptreplay /usr/bin/sdiff /usr/bin/secret-tool /usr/bin/sed /usr/bin/seq /usr/bin/setarch /usr/bin/setfacl /usr/bin/setfont /usr/bin/setkeycodes /usr/bin/setleds /usr/bin/setmetamode /usr/bin/setpriv /usr/bin/setsid /usr/bin/setterm /usr/bin/setvtrgb /usr/bin/sg /usr/bin/sh /usr/bin/sha1hmac /usr/bin/sha1sum /usr/bin/sha224hmac /usr/bin/sha224sum /usr/bin/sha256hmac /usr/bin/sha256sum /usr/bin/sha384hmac /usr/bin/sha384sum /usr/bin/sha512hmac /usr/bin/sha512sum /usr/bin/showconsolefont /usr/bin/showkey /usr/bin/shred /usr/bin/shuf /usr/bin/size /usr/bin/skill /usr/bin/slabtop /usr/bin/sleep /usr/bin/snice /usr/bin/soelim /usr/bin/sort /usr/bin/sotruss /usr/bin/split /usr/bin/sprof /usr/bin/stat /usr/bin/stdbuf /usr/bin/strings /usr/bin/strip /usr/bin/stty /usr/bin/su /usr/bin/sum /usr/bin/sync /usr/bin/systemctl /usr/bin/systemd-analyze /usr/bin/systemd-ask-password /usr/bin/systemd-cat /usr/bin/systemd-cgls /usr/bin/systemd-cgtop /usr/bin/systemd-delta /usr/bin/systemd-detect-virt /usr/bin/systemd-escape /usr/bin/systemd-firstboot /usr/bin/systemd-hwdb /usr/bin/systemd-inhibit /usr/bin/systemd-machine-id-setup /usr/bin/systemd-mount /usr/bin/systemd-notify /usr/bin/systemd-path /usr/bin/systemd-resolve /usr/bin/systemd-run /usr/bin/systemd-socket-activate /usr/bin/systemd-stdio-bridge /usr/bin/systemd-sysusers /usr/bin/systemd-tmpfiles /usr/bin/systemd-tty-ask-password-agent /usr/bin/systemd-umount /usr/bin/tabs /usr/bin/tac /usr/bin/tail /usr/bin/tar /usr/bin/taskset /usr/bin/tbl /usr/bin/tee /usr/bin/test /usr/bin/tic /usr/bin/timedatectl /usr/bin/timeout /usr/bin/tload /usr/bin/toe /usr/bin/top /usr/bin/touch /usr/bin/tput /usr/bin/tr /usr/bin/troff /usr/bin/true /usr/bin/truncate /usr/bin/trust /usr/bin/tset /usr/bin/tsort /usr/bin/tty /usr/bin/type /usr/bin/tzselect /usr/bin/udevadm /usr/bin/ul /usr/bin/ulimit /usr/bin/umask /usr/bin/umount /usr/bin/unalias /usr/bin/uname /usr/bin/uname26 /usr/bin/unexpand /usr/bin/unicode_start /usr/bin/unicode_stop /usr/bin/uniq /usr/bin/unlink /usr/bin/unpigz /usr/bin/unshare /usr/bin/unversioned-python /usr/bin/unxz /usr/bin/unzip /usr/bin/unzipsfx /usr/bin/unzstd /usr/bin/update-ca-trust /usr/bin/update-crypto-policies /usr/bin/update-mime-database /usr/bin/uptime /usr/bin/users /usr/bin/utmpdump /usr/bin/uuidgen /usr/bin/uuidparse /usr/bin/vdir /usr/bin/vlock /usr/bin/vmstat /usr/bin/w /usr/bin/wait /usr/bin/wall /usr/bin/watch /usr/bin/watchgnupg /usr/bin/wc /usr/bin/wdctl /usr/bin/whereis /usr/bin/which /usr/bin/who /usr/bin/whoami /usr/bin/write /usr/bin/x86_64 /usr/bin/x86_64-pc-cygwin-addr2line /usr/bin/x86_64-pc-cygwin-ar /usr/bin/x86_64-pc-cygwin-as /usr/bin/x86_64-pc-cygwin-c++ /usr/bin/x86_64-pc-cygwin-c++filt /usr/bin/x86_64-pc-cygwin-cpp /usr/bin/x86_64-pc-cygwin-dlltool /usr/bin/x86_64-pc-cygwin-dllwrap /usr/bin/x86_64-pc-cygwin-elfedit /usr/bin/x86_64-pc-cygwin-g++ /usr/bin/x86_64-pc-cygwin-gcc /usr/bin/x86_64-pc-cygwin-gcc-9.3.0 /usr/bin/x86_64-pc-cygwin-gcc-ar /usr/bin/x86_64-pc-cygwin-gcc-nm /usr/bin/x86_64-pc-cygwin-gcc-ranlib /usr/bin/x86_64-pc-cygwin-gcov /usr/bin/x86_64-pc-cygwin-gcov-dump /usr/bin/x86_64-pc-cygwin-gcov-tool /usr/bin/x86_64-pc-cygwin-gprof /usr/bin/x86_64-pc-cygwin-ld /usr/bin/x86_64-pc-cygwin-ld.bfd /usr/bin/x86_64-pc-cygwin-nm /usr/bin/x86_64-pc-cygwin-objcopy /usr/bin/x86_64-pc-cygwin-objdump /usr/bin/x86_64-pc-cygwin-pkg-config /usr/bin/x86_64-pc-cygwin-ranlib /usr/bin/x86_64-pc-cygwin-readelf /usr/bin/x86_64-pc-cygwin-size /usr/bin/x86_64-pc-cygwin-strings /usr/bin/x86_64-pc-cygwin-strip /usr/bin/x86_64-pc-cygwin-windmc /usr/bin/x86_64-pc-cygwin-windres /usr/bin/x86_64-redhat-linux-c++ /usr/bin/x86_64-redhat-linux-g++ /usr/bin/x86_64-redhat-linux-gcc /usr/bin/x86_64-redhat-linux-gcc-8 /usr/bin/x86_64-redhat-linux-gnu-pkg-config /usr/bin/xargs /usr/bin/xgettext /usr/bin/xmlcatalog /usr/bin/xmllint /usr/bin/xmlwf /usr/bin/xz /usr/bin/xzcat /usr/bin/xzcmp /usr/bin/xzdec /usr/bin/xzdiff /usr/bin/xzegrep /usr/bin/xzfgrep /usr/bin/xzgrep /usr/bin/xzless /usr/bin/xzmore /usr/bin/yes /usr/bin/zcat /usr/bin/zcmp /usr/bin/zdiff /usr/bin/zegrep /usr/bin/zfgrep /usr/bin/zforce /usr/bin/zgrep /usr/bin/zip /usr/bin/zipcloak /usr/bin/zipgrep /usr/bin/zipinfo /usr/bin/zipnote /usr/bin/zipsplit /usr/bin/zless /usr/bin/zmore /usr/bin/znew /usr/bin/zsoelim /usr/bin/zstd /usr/bin/zstdcat /usr/bin/zstdgrep /usr/bin/zstdless /usr/bin/zstdmt + for i in `ls /usr/bin/*|grep -- "[-_]config$"` + case $i in + continue + for i in `ls /usr/bin/*|grep -- "[-_]config$"` + case $i in + continue + for i in `ls /usr/bin/*|grep -- "[-_]config$"` + case $i in + continue + for i in `ls /usr/bin/*|grep -- "[-_]config$"` + case $i in + continue + for i in `ls /usr/bin/*|grep -- "[-_]config$"` + case $i in + continue + for i in `ls /usr/bin/*|grep -- "[-_]config$"` + case $i in + continue ++ grep -- '[-_]config$' ++ ls /usr/i686-pc-cygwin/sys-root/usr/bin/compile_et /usr/i686-pc-cygwin/sys-root/usr/bin/cygatomic-1.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygcharset-1.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygewf-2.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygformw-10.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cyggcc_s-1.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cyggomp-1.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygiconv-2.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygjpeg-8.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygmenuw-10.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygncurses++w-10.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygncursesw-10.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygpanelw-10.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygquadmath-0.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygstdc++-6.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygticw-10.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygturbojpeg-0.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygwin1.dll /usr/i686-pc-cygwin/sys-root/usr/bin/cygz.dll /usr/i686-pc-cygwin/sys-root/usr/bin/ewfacquire.exe /usr/i686-pc-cygwin/sys-root/usr/bin/ewfacquirestream.exe /usr/i686-pc-cygwin/sys-root/usr/bin/ewfdebug.exe /usr/i686-pc-cygwin/sys-root/usr/bin/ewfexport.exe /usr/i686-pc-cygwin/sys-root/usr/bin/ewfinfo.exe /usr/i686-pc-cygwin/sys-root/usr/bin/ewfmount.exe /usr/i686-pc-cygwin/sys-root/usr/bin/ewfrecover.exe /usr/i686-pc-cygwin/sys-root/usr/bin/ewfverify.exe /usr/i686-pc-cygwin/sys-root/usr/bin/mk_cmds /usr/i686-pc-cygwin/sys-root/usr/bin/ncurses6-config /usr/i686-pc-cygwin/sys-root/usr/bin/ncursesw6-config + for i in `ls /usr/i686-pc-cygwin/sys-root/usr/bin/*|grep -- "[-_]config$"` ++ tr a-z+-. A-ZX__ ++ basename /usr/i686-pc-cygwin/sys-root/usr/bin/ncurses6-config + x=NCURSES6_CONFIG + declare -x NCURSES6_CONFIG=/usr/i686-pc-cygwin/sys-root/usr/bin/ncurses6-config + export NCURSES6_CONFIG + declare -x ac_cv_path_NCURSES6_CONFIG=/usr/i686-pc-cygwin/sys-root/usr/bin/ncurses6-config + export ac_cv_path_NCURSES6_CONFIG + for i in `ls /usr/i686-pc-cygwin/sys-root/usr/bin/*|grep -- "[-_]config$"` ++ tr a-z+-. A-ZX__ ++ basename /usr/i686-pc-cygwin/sys-root/usr/bin/ncursesw6-config + x=NCURSESW6_CONFIG + declare -x NCURSESW6_CONFIG=/usr/i686-pc-cygwin/sys-root/usr/bin/ncursesw6-config + export NCURSESW6_CONFIG + declare -x ac_cv_path_NCURSESW6_CONFIG=/usr/i686-pc-cygwin/sys-root/usr/bin/ncursesw6-config + export ac_cv_path_NCURSESW6_CONFIG + unset x i + unset PKG_CONFIG_LIBDIR PKG_CONFIG_SYSTEM_INCLUDE_PATH PKG_CONFIG_SYSTEM_LIBRARY_PATH + _cygwin32_topdir=. + test -x configure + _cygwin32_topdir=.. + ../configure --cache-file=cygwin32-config.cache --host=i686-pc-cygwin --build=x86_64-redhat-linux-gnu --target=i686-pc-cygwin --prefix=/usr/i686-pc-cygwin/sys-root/usr --exec-prefix=/usr/i686-pc-cygwin/sys-root/usr --bindir=/usr/i686-pc-cygwin/sys-root/usr/bin --sbindir=/usr/i686-pc-cygwin/sys-root/usr/sbin --sysconfdir=/usr/i686-pc-cygwin/sys-root/etc --datadir=/usr/i686-pc-cygwin/sys-root/usr/share --includedir=/usr/i686-pc-cygwin/sys-root/usr/include --libdir=/usr/i686-pc-cygwin/sys-root/usr/lib --libexecdir=/usr/i686-pc-cygwin/sys-root/usr/lib --localstatedir=/usr/i686-pc-cygwin/sys-root/var --sharedstatedir=/usr/i686-pc-cygwin/sys-root/srv --mandir=/usr/i686-pc-cygwin/sys-root/usr/share/man --infodir=/usr/i686-pc-cygwin/sys-root/usr/share/info --enable-missing-uuid-ok configure: creating cache cygwin32-config.cache checking build system type... x86_64-redhat-linux-gnu checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i686-pc-cygwin-strip... /usr/bin/i686-pc-cygwin-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for i686-pc-cygwin-gcc... i686-pc-cygwin-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-cygwin-gcc accepts -g... yes checking for i686-pc-cygwin-gcc option to accept ISO C89... none needed checking whether i686-pc-cygwin-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of i686-pc-cygwin-gcc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-cygwin-g++ accepts -g... yes checking dependency style of i686-pc-cygwin-g++... gcc3 checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking pkg-config is at least version 0.9.0... yes checking for i686-pc-cygwin-windres... /usr/bin/i686-pc-cygwin-windres checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking how to run the C preprocessor... /usr/bin/i686-pc-cygwin-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking cygwin/fs.h usability... yes checking cygwin/fs.h presence... yes checking for cygwin/fs.h... yes checking cygwin/version.h usability... yes checking cygwin/version.h presence... yes checking for cygwin/version.h... yes checking dal/file_dal.h usability... no checking dal/file_dal.h presence... no checking for dal/file_dal.h... no checking dal/file.h usability... no checking dal/file.h presence... no checking for dal/file.h... no checking ddk/ntddstor.h usability... no checking ddk/ntddstor.h presence... no checking for ddk/ntddstor.h... no checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking giconv.h usability... no checking giconv.h presence... no checking for giconv.h... no checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking io.h usability... yes checking io.h presence... yes checking for io.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/fs.h usability... no checking linux/fs.h presence... no checking for linux/fs.h... no checking linux/hdreg.h usability... no checking linux/hdreg.h presence... no checking for linux/hdreg.h... no checking linux/types.h usability... no checking linux/types.h presence... no checking for linux/types.h... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking machine/endian.h usability... yes checking machine/endian.h presence... yes checking for machine/endian.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... yes checking ncurses/curses.h presence... yes checking for ncurses/curses.h... yes checking ncurses/ncurses.h usability... yes checking ncurses/ncurses.h presence... yes checking for ncurses/ncurses.h... yes checking ncursesw/curses.h usability... yes checking ncursesw/curses.h presence... yes checking for ncursesw/curses.h... yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking ntfs/version.h usability... yes checking ntfs/version.h presence... yes checking for ntfs/version.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking scsi/scsi.h usability... no checking scsi/scsi.h presence... no checking for scsi/scsi.h... no checking scsi/scsi_ioctl.h usability... no checking scsi/scsi_ioctl.h presence... no checking for scsi/scsi_ioctl.h... no checking scsi/sg.h usability... no checking scsi/sg.h presence... no checking for scsi/sg.h... no checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/cygwin.h usability... yes checking sys/cygwin.h presence... yes checking for sys/cygwin.h... yes checking sys/disk.h usability... no checking sys/disk.h presence... no checking for sys/disk.h... no checking sys/disklabel.h usability... no checking sys/disklabel.h presence... no checking for sys/disklabel.h... no checking sys/dkio.h usability... no checking sys/dkio.h presence... no checking for sys/dkio.h... no checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/vtoc.h usability... no checking sys/vtoc.h presence... no checking for sys/vtoc.h... no checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking w32api/ddk/ntdddisk.h usability... no checking w32api/ddk/ntdddisk.h presence... no checking for w32api/ddk/ntdddisk.h... no checking windef.h usability... yes checking windef.h presence... yes checking for windef.h... yes checking windows.h usability... yes checking windows.h presence... yes checking for windows.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking iconv support... yes, -liconv checking for sys/mount.h... yes checking for winbase.h... yes checking for winioctl.h... yes checking for w32api/winioctl.h... yes checking for ext2fs/ext2_fs.h... yes checking for ext2fs/ext2fs.h... yes checking for off64_t... no checking libewf.h usability... yes checking libewf.h presence... yes checking for libewf.h... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking ntfs/attrib.h usability... yes checking ntfs/attrib.h presence... yes checking for ntfs/attrib.h... yes checking ntfs/volume.h usability... yes checking ntfs/volume.h presence... yes checking for ntfs/volume.h... yes checking ntfs-3g/attrib.h usability... no checking ntfs-3g/attrib.h presence... no checking for ntfs-3g/attrib.h... no configure: WARNING: Disable use of ntfs3g library checking ntfs-3g/volume.h usability... no checking ntfs-3g/volume.h presence... no checking for ntfs-3g/volume.h... no configure: WARNING: Disable use of ntfs3g library checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for off_t... yes checking for size_t... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct stat.st_blksize... yes checking for struct stat.st_rdev... yes checking for dal_t.block_size... no checking for dal_t.error... no checking for dal_t.entity... no checking for dal_t.name... no checking for struct dal_ops.dev... no checking for struct struct_io_manager.set_option... yes checking for struct struct_io_manager.read_blk64... yes checking for struct struct_io_manager.write_blk64... yes checking for struct tm.tm_gmtoff... yes checking whether i686-pc-cygwin-gcc needs -traditional... no checking for initscr in -lncursesw... yes checking for keypad in -ltinfow... no checking for keypad in -ltinfo... no checking for assume_default_colors... yes checking for com_err in -lcom_err... yes checking for ext2fs_open in -lext2fs... yes checking for ext2fs_get_generic_bitmap_start... yes checking for jpeg_std_error in -ljpeg... yes checking for ntfs_device_mount in -lntfs... yes checking for libreiserfs_get_version in -lreiserfs... no configure: WARNING: No reiserfs library detected checking sys/uuid.h usability... no checking sys/uuid.h presence... no checking for sys/uuid.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking for uuidgen... no checking for library containing uuid_generate... -luuid checking for uuid_create... no checking for uuid_generate... yes checking for compress2 in -lz... yes checking for libewf_check_file_signature in -lewf... yes checking for libewf_handle_t... yes checking whether gcc understands -Wdeclaration-after-statement... yes checking whether gcc understands -Wall... yes checking whether gcc understands -Wextra... yes checking whether gcc understands -MD... yes checking whether gcc understands -Wpointer-arith... yes checking whether gcc understands -Wmissing-declarations... yes checking whether gcc understands -Wmissing-prototypes... yes checking whether gcc understands -Wstrict-prototypes... yes checking whether gcc understands -Wshadow... yes checking whether gcc understands -Wwrite-strings... yes checking whether gcc understands -W... yes checking whether gcc understands -Wcast-align... yes checking whether gcc understands -Waggregate-return... yes checking whether gcc understands -Wbad-function-cast... yes checking whether gcc understands -Wcast-qual... yes checking whether gcc understands -Wundef... yes checking whether gcc understands -Wredundant-decls... yes checking whether gcc understands -Wsign-compare... yes checking whether gcc understands -Wnested-externs... yes checking whether gcc understands -Winline... yes checking whether gcc understands -Wdisabled-optimization... yes checking whether gcc understands -Wfloat-equal... yes checking whether gcc understands -Wmissing-format-attribute... yes checking whether gcc understands -Wmultichar... yes checking whether gcc understands -Wc++-compat... yes checking whether gcc understands -Wformat=2... yes checking whether gcc understands -Wunreachable-code... yes checking whether gcc understands -Wvla... yes checking whether g++ understands -Wall... yes checking whether g++ understands -MD... yes checking whether g++ understands -Wpointer-arith... yes checking whether g++ understands -Wmissing-declarations... yes checking whether g++ understands -Wshadow... yes checking whether g++ understands -Wwrite-strings... yes checking whether g++ understands -W... yes checking whether g++ understands -Wcast-align... yes checking whether g++ understands -Wcast-qual... yes checking whether g++ understands -Wundef... yes checking whether g++ understands -Wredundant-decls... yes checking whether g++ understands -Wsign-compare... yes checking whether g++ understands -Wdisabled-optimization... yes checking whether g++ understands -Wmissing-format-attribute... yes checking whether g++ understands -Wmultichar... yes checking whether g++ understands -Wformat=2... yes checking whether g++ understands -fvisibility=hidden... yes checking whether g++ understands -fvisibility-inlines-hidden... yes checking whether g++ understands -fPIC... yes checking whether g++ understands -Wvla... yes checking for pread... yes checking for atexit... yes checking for atoll... yes checking for chdir... yes checking for chmod... yes checking for delscreen... no checking for dirname... yes checking for dup2... yes checking for execv... yes checking for fdatasync... yes checking for fseeko... yes checking for fsync... yes checking for ftello... yes checking for ftruncate... yes checking for getcwd... yes checking for geteuid... yes checking for getpwuid... yes checking for libewf_handle_read_buffer_at_offset... no checking for libewf_handle_write_buffer_at_offset... no checking for localtime_r... yes checking for lstat... yes checking for memalign... yes checking for memchr... yes checking for memset... yes checking for mkdir... yes checking for posix_fadvise... yes checking for posix_memalign... yes checking for pwrite... yes checking for readlink... yes checking for setenv... yes checking for setlocale... yes checking for sigaction... yes checking for signal... yes checking for sleep... yes checking for snprintf... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strptime... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking for touchwin... no checking for uname... yes checking for utime... yes checking for vsnprintf... yes checking for wctomb... yes checking for reiserfs_fs_open_fast... no checking for ntfs_libntfs_version... yes checking for ntfs_volume_startup... yes checking for QT5GUI... no checking for QT5WIDGETS... no checking whether Qt5 is using --std=c++14... Package Qt5Core was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt5Core.pc' to the PKG_CONFIG_PATH environment variable No package 'Qt5Core' found no checking whether Qt5 is using --std=c++11... Package Qt5Core was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt5Core.pc' to the PKG_CONFIG_PATH environment variable No package 'Qt5Core' found no checking for i686-pc-cygwin-moc-qt5... no checking for i686-pc-cygwin-moc... no checking for moc-qt5... no checking for moc... no configure: WARNING: Could not find a moc-qt5 or moc tool in your PATH. checking for i686-pc-cygwin-rcc-qt5... no checking for i686-pc-cygwin-rcc... no checking for rcc-qt5... no checking for rcc... no configure: WARNING: Could not find a rcc-qt5 or rcc tool in your PATH. checking for i686-pc-cygwin-lrelease-qt5... no checking for i686-pc-cygwin-lrelease... no checking for lrelease-qt5... no checking for lrelease... no configure: WARNING: Could not find a lrelease-qt5 or lrelease tool in your PATH. checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... no checking whether pthreads work with -pthreads... no checking whether pthreads work with -mthreads... no checking for the pthreads library -lpthread... no checking whether pthreads work with --thread-safe... no checking whether pthreads work with -mt... no checking for pthread-config... no checking whether stack protection works with gcc... yes checking whether stack protection works with g++... yes configure: updating cache cygwin32-config.cache checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating icons/Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating man/testdisk.8 config.status: creating man/photorec.8 config.status: creating man/qphotorec.8 config.status: creating man/fidentify.8 config.status: creating man/zh_CN/Makefile config.status: creating man/zh_CN/testdisk.8 config.status: creating man/zh_CN/photorec.8 config.status: creating man/zh_CN/qphotorec.8 config.status: creating man/zh_CN/fidentify.8 config.status: creating linux/testdisk.spec config.status: creating config.h config.status: executing depfiles commands + popd + mkdir build_64bit ~/build/BUILD/cygwin-testdisk-7.2 ~/build/BUILD/cygwin-testdisk-7.2/build_64bit ~/build/BUILD/cygwin-testdisk-7.2 + pushd build_64bit + HOST_CC=gcc + export HOST_CC + PKG_CONFIG_LIBDIR=/usr/x86_64-pc-cygwin/sys-root/usr/lib/pkgconfig:/usr/x86_64-pc-cygwin/sys-root/usr/share/pkgconfig:/usr/share/pkgconfig + export PKG_CONFIG_LIBDIR + PKG_CONFIG_SYSTEM_INCLUDE_PATH=/usr/x86_64-pc-cygwin/sys-root/usr/include + export PKG_CONFIG_SYSTEM_INCLUDE_PATH + PKG_CONFIG_SYSTEM_LIBRARY_PATH=/usr/x86_64-pc-cygwin/sys-root/usr/lib + export PKG_CONFIG_SYSTEM_LIBRARY_PATH + unset PKG_CONFIG_PATH + _PREFIX=/usr/bin/x86_64-pc-cygwin- ++ grep -v gcc- ++ ls -1 /usr/bin/x86_64-pc-cygwin-addr2line /usr/bin/x86_64-pc-cygwin-ar /usr/bin/x86_64-pc-cygwin-as /usr/bin/x86_64-pc-cygwin-c++ /usr/bin/x86_64-pc-cygwin-c++filt /usr/bin/x86_64-pc-cygwin-cpp /usr/bin/x86_64-pc-cygwin-dlltool /usr/bin/x86_64-pc-cygwin-dllwrap /usr/bin/x86_64-pc-cygwin-elfedit /usr/bin/x86_64-pc-cygwin-g++ /usr/bin/x86_64-pc-cygwin-gcc /usr/bin/x86_64-pc-cygwin-gcc-9.3.0 /usr/bin/x86_64-pc-cygwin-gcc-ar /usr/bin/x86_64-pc-cygwin-gcc-nm /usr/bin/x86_64-pc-cygwin-gcc-ranlib /usr/bin/x86_64-pc-cygwin-gcov /usr/bin/x86_64-pc-cygwin-gcov-dump /usr/bin/x86_64-pc-cygwin-gcov-tool /usr/bin/x86_64-pc-cygwin-gprof /usr/bin/x86_64-pc-cygwin-ld /usr/bin/x86_64-pc-cygwin-ld.bfd /usr/bin/x86_64-pc-cygwin-nm /usr/bin/x86_64-pc-cygwin-objcopy /usr/bin/x86_64-pc-cygwin-objdump /usr/bin/x86_64-pc-cygwin-pkg-config /usr/bin/x86_64-pc-cygwin-ranlib /usr/bin/x86_64-pc-cygwin-readelf /usr/bin/x86_64-pc-cygwin-size /usr/bin/x86_64-pc-cygwin-strings /usr/bin/x86_64-pc-cygwin-strip /usr/bin/x86_64-pc-cygwin-windmc /usr/bin/x86_64-pc-cygwin-windres + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/x86_64-pc-cygwin-addr2line + x=ADDR2LINE + declare -x ADDR2LINE=/usr/bin/x86_64-pc-cygwin-addr2line + export ADDR2LINE + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-ar ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-pc-cygwin-,, + x=AR + declare -x AR=/usr/bin/x86_64-pc-cygwin-ar + export AR + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/x86_64-pc-cygwin-as + x=AS + declare -x AS=/usr/bin/x86_64-pc-cygwin-as + export AS + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-c++ ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-pc-cygwin-,, + x=CXX + declare -x CXX=/usr/bin/x86_64-pc-cygwin-c++ + export CXX + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-c++filt ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-pc-cygwin-,, + x=CXXFILT + declare -x CXXFILT=/usr/bin/x86_64-pc-cygwin-c++filt + export CXXFILT + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-cpp ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-pc-cygwin-,, + x=CPP + declare -x CPP=/usr/bin/x86_64-pc-cygwin-cpp + export CPP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/x86_64-pc-cygwin-dlltool + x=DLLTOOL + declare -x DLLTOOL=/usr/bin/x86_64-pc-cygwin-dlltool + export DLLTOOL + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-dllwrap ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=DLLWRAP + declare -x DLLWRAP=/usr/bin/x86_64-pc-cygwin-dllwrap + export DLLWRAP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/x86_64-pc-cygwin-elfedit + x=ELFEDIT + declare -x ELFEDIT=/usr/bin/x86_64-pc-cygwin-elfedit + export ELFEDIT + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-g++ ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=GXX + declare -x GXX=/usr/bin/x86_64-pc-cygwin-g++ + export GXX + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ echo /usr/bin/x86_64-pc-cygwin-gcc + x=GCC + declare -x GCC=/usr/bin/x86_64-pc-cygwin-gcc + export GCC + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-gcov ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=GCOV + declare -x GCOV=/usr/bin/x86_64-pc-cygwin-gcov + export GCOV + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-gcov-dump ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=GCOV_DUMP + declare -x GCOV_DUMP=/usr/bin/x86_64-pc-cygwin-gcov-dump + export GCOV_DUMP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-gcov-tool ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=GCOV_TOOL + declare -x GCOV_TOOL=/usr/bin/x86_64-pc-cygwin-gcov-tool + export GCOV_TOOL + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ echo /usr/bin/x86_64-pc-cygwin-gprof + x=GPROF + declare -x GPROF=/usr/bin/x86_64-pc-cygwin-gprof + export GPROF + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-ld ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=LD + declare -x LD=/usr/bin/x86_64-pc-cygwin-ld + export LD + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-ld.bfd ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=LD_BFD + declare -x LD_BFD=/usr/bin/x86_64-pc-cygwin-ld.bfd + export LD_BFD + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-nm ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=NM + declare -x NM=/usr/bin/x86_64-pc-cygwin-nm + export NM + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/x86_64-pc-cygwin-objcopy + x=OBJCOPY + declare -x OBJCOPY=/usr/bin/x86_64-pc-cygwin-objcopy + export OBJCOPY + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-objdump ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=OBJDUMP + declare -x OBJDUMP=/usr/bin/x86_64-pc-cygwin-objdump + export OBJDUMP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-pkg-config ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=PKG_CONFIG + declare -x PKG_CONFIG=/usr/bin/x86_64-pc-cygwin-pkg-config + export PKG_CONFIG + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-ranlib ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=RANLIB + declare -x RANLIB=/usr/bin/x86_64-pc-cygwin-ranlib + export RANLIB + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-readelf ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=READELF + declare -x READELF=/usr/bin/x86_64-pc-cygwin-readelf + export READELF + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-size ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=SIZE + declare -x SIZE=/usr/bin/x86_64-pc-cygwin-size + export SIZE + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-strings ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=STRINGS + declare -x STRINGS=/usr/bin/x86_64-pc-cygwin-strings + export STRINGS + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-strip ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=STRIP + declare -x STRIP=/usr/bin/x86_64-pc-cygwin-strip + export STRIP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-windmc ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=WINDMC + declare -x WINDMC=/usr/bin/x86_64-pc-cygwin-windmc + export WINDMC + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/x86_64-pc-cygwin-windres ++ sed s,/usr/bin/x86_64-pc-cygwin-,, ++ tr a-z+-. A-ZX__ + x=WINDRES + declare -x WINDRES=/usr/bin/x86_64-pc-cygwin-windres + export WINDRES + unset _PREFIX + CC=x86_64-pc-cygwin-gcc + export CC + CFLAGS=' -O2 -g -pipe -Wall' + export CFLAGS + CPPFLAGS= + export CPPFLAGS + '[' -x /usr/bin/x86_64-pc-cygwin-g++ ']' + CXX=x86_64-pc-cygwin-g++ + export CXX + CXXFLAGS=' -O2 -g -pipe -Wall' + export CXXFLAGS + LDFLAGS= + export LDFLAGS ++ grep -- '[-_]config$' ++ ls '/usr/bin/[' /usr/bin/aclocal /usr/bin/aclocal-1.16 /usr/bin/addr2line /usr/bin/alias /usr/bin/annocheck /usr/bin/ar /usr/bin/arch /usr/bin/as /usr/bin/autoconf /usr/bin/autoheader /usr/bin/autom4te /usr/bin/automake /usr/bin/automake-1.16 /usr/bin/autoreconf /usr/bin/autoscan /usr/bin/autoupdate /usr/bin/awk /usr/bin/b2sum /usr/bin/base32 /usr/bin/base64 /usr/bin/basename /usr/bin/bash /usr/bin/bashbug /usr/bin/bashbug-64 /usr/bin/bg /usr/bin/bootctl /usr/bin/brotli /usr/bin/built-by /usr/bin/bunzip2 /usr/bin/busctl /usr/bin/bzcat /usr/bin/bzcmp /usr/bin/bzdiff /usr/bin/bzegrep /usr/bin/bzfgrep /usr/bin/bzgrep /usr/bin/bzip2 /usr/bin/bzip2recover /usr/bin/bzless /usr/bin/bzmore /usr/bin/c++ /usr/bin/c++filt /usr/bin/c89 /usr/bin/c99 /usr/bin/ca-legacy /usr/bin/cal /usr/bin/captoinfo /usr/bin/cat /usr/bin/catchsegv /usr/bin/cc /usr/bin/cd /usr/bin/chacl /usr/bin/chage /usr/bin/chcon /usr/bin/check-abi /usr/bin/chgrp /usr/bin/chmem /usr/bin/chmod /usr/bin/chown /usr/bin/chrt /usr/bin/chvt /usr/bin/cksum /usr/bin/clear /usr/bin/cmp /usr/bin/col /usr/bin/colcrt /usr/bin/colrm /usr/bin/column /usr/bin/comm /usr/bin/command /usr/bin/coredumpctl /usr/bin/cp /usr/bin/cpio /usr/bin/cpp /usr/bin/csplit /usr/bin/csslint-0.6 /usr/bin/curl /usr/bin/cut /usr/bin/cygwin-objcopy /usr/bin/cygwin-objdump /usr/bin/cygwin-strip /usr/bin/cygwin32-cmake /usr/bin/cygwin32-configure /usr/bin/cygwin32-make /usr/bin/cygwin32-pkg-config /usr/bin/cygwin64-cmake /usr/bin/cygwin64-configure /usr/bin/cygwin64-make /usr/bin/cygwin64-pkg-config /usr/bin/date /usr/bin/db_archive /usr/bin/db_checkpoint /usr/bin/db_deadlock /usr/bin/db_dump /usr/bin/db_dump185 /usr/bin/db_hotbackup /usr/bin/db_load /usr/bin/db_log_verify /usr/bin/db_printlog /usr/bin/db_recover /usr/bin/db_replicate /usr/bin/db_stat /usr/bin/db_tuner /usr/bin/db_upgrade /usr/bin/db_verify /usr/bin/dbus-cleanup-sockets /usr/bin/dbus-daemon /usr/bin/dbus-monitor /usr/bin/dbus-run-session /usr/bin/dbus-send /usr/bin/dbus-test-tool /usr/bin/dbus-update-activation-environment /usr/bin/dbus-uuidgen /usr/bin/dd /usr/bin/deallocvt /usr/bin/debuginfod-find /usr/bin/df /usr/bin/diff /usr/bin/diff3 /usr/bin/dir /usr/bin/dircolors /usr/bin/dirmngr /usr/bin/dirmngr-client /usr/bin/dirname /usr/bin/dmesg /usr/bin/dracut /usr/bin/du /usr/bin/dumpkeys /usr/bin/dwp /usr/bin/dwz /usr/bin/echo /usr/bin/egrep /usr/bin/eject /usr/bin/elfedit /usr/bin/encguess /usr/bin/env /usr/bin/envsubst /usr/bin/eqn /usr/bin/eu-addr2line /usr/bin/eu-ar /usr/bin/eu-elfclassify /usr/bin/eu-elfcmp /usr/bin/eu-elfcompress /usr/bin/eu-elflint /usr/bin/eu-findtextrel /usr/bin/eu-make-debug-archive /usr/bin/eu-nm /usr/bin/eu-objdump /usr/bin/eu-ranlib /usr/bin/eu-readelf /usr/bin/eu-size /usr/bin/eu-stack /usr/bin/eu-strings /usr/bin/eu-strip /usr/bin/eu-unstrip /usr/bin/evmctl /usr/bin/expand /usr/bin/expr /usr/bin/factor /usr/bin/fallocate /usr/bin/false /usr/bin/fc /usr/bin/fedpkg /usr/bin/fg /usr/bin/fgconsole /usr/bin/fgrep /usr/bin/file /usr/bin/fincore /usr/bin/find /usr/bin/findmnt /usr/bin/fips-finish-install /usr/bin/fips-mode-setup /usr/bin/flock /usr/bin/fmt /usr/bin/fold /usr/bin/free /usr/bin/funzip /usr/bin/g++ /usr/bin/g13 /usr/bin/gapplication /usr/bin/gawk /usr/bin/gcc /usr/bin/gcc-ar /usr/bin/gcc-nm /usr/bin/gcc-ranlib /usr/bin/gcov /usr/bin/gcov-dump /usr/bin/gcov-tool /usr/bin/gdb-add-index /usr/bin/gdbm_dump /usr/bin/gdbm_load /usr/bin/gdbmtool /usr/bin/gdbus /usr/bin/gencat /usr/bin/gendiff /usr/bin/geqn /usr/bin/getconf /usr/bin/getent /usr/bin/getfacl /usr/bin/getkeycodes /usr/bin/getopt /usr/bin/getopts /usr/bin/gettext /usr/bin/gettext.sh /usr/bin/gio /usr/bin/gio-querymodules-64 /usr/bin/glib-compile-schemas /usr/bin/gmake /usr/bin/gneqn /usr/bin/gnroff /usr/bin/gpasswd /usr/bin/gpg /usr/bin/gpg-agent /usr/bin/gpg-connect-agent /usr/bin/gpg-error /usr/bin/gpg-zip /usr/bin/gpg2 /usr/bin/gpgconf /usr/bin/gpgparsemail /usr/bin/gpgsm /usr/bin/gpgsplit /usr/bin/gpgv /usr/bin/gpgv2 /usr/bin/gpic /usr/bin/gprof /usr/bin/grep /usr/bin/groff /usr/bin/grops /usr/bin/grotty /usr/bin/groups /usr/bin/grub2-editenv /usr/bin/grub2-file /usr/bin/grub2-menulst2cfg /usr/bin/grub2-mkimage /usr/bin/grub2-mkpasswd-pbkdf2 /usr/bin/grub2-mkrelpath /usr/bin/grub2-script-check /usr/bin/gsettings /usr/bin/gsoelim /usr/bin/gtar /usr/bin/gtbl /usr/bin/gtroff /usr/bin/guild /usr/bin/guile /usr/bin/guile-tools /usr/bin/guile2 /usr/bin/guile2-tools /usr/bin/gunzip /usr/bin/gzexe /usr/bin/gzip /usr/bin/hardened /usr/bin/hash /usr/bin/head /usr/bin/hexdump /usr/bin/hostid /usr/bin/hostnamectl /usr/bin/i386 /usr/bin/i686-pc-cygwin-addr2line /usr/bin/i686-pc-cygwin-ar /usr/bin/i686-pc-cygwin-as /usr/bin/i686-pc-cygwin-c++ /usr/bin/i686-pc-cygwin-c++filt /usr/bin/i686-pc-cygwin-cpp /usr/bin/i686-pc-cygwin-dlltool /usr/bin/i686-pc-cygwin-dllwrap /usr/bin/i686-pc-cygwin-elfedit /usr/bin/i686-pc-cygwin-g++ /usr/bin/i686-pc-cygwin-gcc /usr/bin/i686-pc-cygwin-gcc-9.3.0 /usr/bin/i686-pc-cygwin-gcc-ar /usr/bin/i686-pc-cygwin-gcc-nm /usr/bin/i686-pc-cygwin-gcc-ranlib /usr/bin/i686-pc-cygwin-gcov /usr/bin/i686-pc-cygwin-gcov-dump /usr/bin/i686-pc-cygwin-gcov-tool /usr/bin/i686-pc-cygwin-gprof /usr/bin/i686-pc-cygwin-ld /usr/bin/i686-pc-cygwin-ld.bfd /usr/bin/i686-pc-cygwin-nm /usr/bin/i686-pc-cygwin-objcopy /usr/bin/i686-pc-cygwin-objdump /usr/bin/i686-pc-cygwin-pkg-config /usr/bin/i686-pc-cygwin-ranlib /usr/bin/i686-pc-cygwin-readelf /usr/bin/i686-pc-cygwin-size /usr/bin/i686-pc-cygwin-strings /usr/bin/i686-pc-cygwin-strip /usr/bin/i686-pc-cygwin-windmc /usr/bin/i686-pc-cygwin-windres /usr/bin/iconv /usr/bin/id /usr/bin/ifnames /usr/bin/info /usr/bin/infocmp /usr/bin/infotocap /usr/bin/install /usr/bin/ionice /usr/bin/ipcmk /usr/bin/ipcrm /usr/bin/ipcs /usr/bin/isosize /usr/bin/jobs /usr/bin/join /usr/bin/journalctl /usr/bin/kbd_mode /usr/bin/kbdinfo /usr/bin/kbdrate /usr/bin/kbxutil /usr/bin/kernel-install /usr/bin/kill /usr/bin/kmod /usr/bin/last /usr/bin/lastb /usr/bin/lastlog /usr/bin/ld /usr/bin/ld.bfd /usr/bin/ld.gold /usr/bin/ldd /usr/bin/libtool /usr/bin/libtoolize /usr/bin/link /usr/bin/linux-boot-prober /usr/bin/linux32 /usr/bin/linux64 /usr/bin/ln /usr/bin/loadkeys /usr/bin/loadunimap /usr/bin/locale /usr/bin/localectl /usr/bin/localedef /usr/bin/logger /usr/bin/login /usr/bin/loginctl /usr/bin/logname /usr/bin/look /usr/bin/ls /usr/bin/lsblk /usr/bin/lscpu /usr/bin/lsinitrd /usr/bin/lsipc /usr/bin/lslocks /usr/bin/lslogins /usr/bin/lsmem /usr/bin/lsns /usr/bin/m4 /usr/bin/make /usr/bin/make-dummy-cert /usr/bin/makedb /usr/bin/mapscrn /usr/bin/mcookie /usr/bin/md5sum /usr/bin/mesg /usr/bin/mkdir /usr/bin/mkfifo /usr/bin/mkinitrd /usr/bin/mknod /usr/bin/mktemp /usr/bin/more /usr/bin/mount /usr/bin/mountpoint /usr/bin/msgattrib /usr/bin/msgcat /usr/bin/msgcmp /usr/bin/msgcomm /usr/bin/msgconv /usr/bin/msgen /usr/bin/msgexec /usr/bin/msgfilter /usr/bin/msgfmt /usr/bin/msggrep /usr/bin/msginit /usr/bin/msgmerge /usr/bin/msgunfmt /usr/bin/msguniq /usr/bin/mv /usr/bin/namei /usr/bin/neqn /usr/bin/newgidmap /usr/bin/newgrp /usr/bin/newuidmap /usr/bin/ngettext /usr/bin/nice /usr/bin/nl /usr/bin/nm /usr/bin/nohup /usr/bin/nproc /usr/bin/nroff /usr/bin/nsenter /usr/bin/numfmt /usr/bin/objcopy /usr/bin/objdump /usr/bin/od /usr/bin/open /usr/bin/openssl /usr/bin/openvt /usr/bin/os-prober /usr/bin/p11-kit /usr/bin/paste /usr/bin/patch /usr/bin/pathchk /usr/bin/perl /usr/bin/perl5.26.3 /usr/bin/perldoc /usr/bin/pgrep /usr/bin/pic /usr/bin/piconv /usr/bin/pidof /usr/bin/pigz /usr/bin/pinentry /usr/bin/pinentry-curses /usr/bin/pinky /usr/bin/pkg-config /usr/bin/pkgconf /usr/bin/pkill /usr/bin/pldd /usr/bin/pmap /usr/bin/pod2man /usr/bin/pod2text /usr/bin/pod2usage /usr/bin/post-grohtml /usr/bin/pr /usr/bin/pre-grohtml /usr/bin/preconv /usr/bin/printenv /usr/bin/printf /usr/bin/prlimit /usr/bin/ps /usr/bin/psfaddtable /usr/bin/psfgettable /usr/bin/psfstriptable /usr/bin/psfxtable /usr/bin/ptx /usr/bin/pwd /usr/bin/pwdx /usr/bin/pwmake /usr/bin/pwscore /usr/bin/pydoc3.6 /usr/bin/pyvenv-3.6 /usr/bin/pzstd /usr/bin/ranlib /usr/bin/raw /usr/bin/read /usr/bin/readelf /usr/bin/readlink /usr/bin/realpath /usr/bin/recode-sr-latin /usr/bin/rename /usr/bin/renew-dummy-cert /usr/bin/renice /usr/bin/reset /usr/bin/resizecons /usr/bin/resolvectl /usr/bin/rev /usr/bin/rm /usr/bin/rmdir /usr/bin/rpm /usr/bin/rpm2archive /usr/bin/rpm2cpio /usr/bin/rpmbuild /usr/bin/rpmdb /usr/bin/rpmkeys /usr/bin/rpmquery /usr/bin/rpmspec /usr/bin/rpmverify /usr/bin/run-on-binaries-in /usr/bin/runcon /usr/bin/script /usr/bin/scriptreplay /usr/bin/sdiff /usr/bin/secret-tool /usr/bin/sed /usr/bin/seq /usr/bin/setarch /usr/bin/setfacl /usr/bin/setfont /usr/bin/setkeycodes /usr/bin/setleds /usr/bin/setmetamode /usr/bin/setpriv /usr/bin/setsid /usr/bin/setterm /usr/bin/setvtrgb /usr/bin/sg /usr/bin/sh /usr/bin/sha1hmac /usr/bin/sha1sum /usr/bin/sha224hmac /usr/bin/sha224sum /usr/bin/sha256hmac /usr/bin/sha256sum /usr/bin/sha384hmac /usr/bin/sha384sum /usr/bin/sha512hmac /usr/bin/sha512sum /usr/bin/showconsolefont /usr/bin/showkey /usr/bin/shred /usr/bin/shuf /usr/bin/size /usr/bin/skill /usr/bin/slabtop /usr/bin/sleep /usr/bin/snice /usr/bin/soelim /usr/bin/sort /usr/bin/sotruss /usr/bin/split /usr/bin/sprof /usr/bin/stat /usr/bin/stdbuf /usr/bin/strings /usr/bin/strip /usr/bin/stty /usr/bin/su /usr/bin/sum /usr/bin/sync /usr/bin/systemctl /usr/bin/systemd-analyze /usr/bin/systemd-ask-password /usr/bin/systemd-cat /usr/bin/systemd-cgls /usr/bin/systemd-cgtop /usr/bin/systemd-delta /usr/bin/systemd-detect-virt /usr/bin/systemd-escape /usr/bin/systemd-firstboot /usr/bin/systemd-hwdb /usr/bin/systemd-inhibit /usr/bin/systemd-machine-id-setup /usr/bin/systemd-mount /usr/bin/systemd-notify /usr/bin/systemd-path /usr/bin/systemd-resolve /usr/bin/systemd-run /usr/bin/systemd-socket-activate /usr/bin/systemd-stdio-bridge /usr/bin/systemd-sysusers /usr/bin/systemd-tmpfiles /usr/bin/systemd-tty-ask-password-agent /usr/bin/systemd-umount /usr/bin/tabs /usr/bin/tac /usr/bin/tail /usr/bin/tar /usr/bin/taskset /usr/bin/tbl /usr/bin/tee /usr/bin/test /usr/bin/tic /usr/bin/timedatectl /usr/bin/timeout /usr/bin/tload /usr/bin/toe /usr/bin/top /usr/bin/touch /usr/bin/tput /usr/bin/tr /usr/bin/troff /usr/bin/true /usr/bin/truncate /usr/bin/trust /usr/bin/tset /usr/bin/tsort /usr/bin/tty /usr/bin/type /usr/bin/tzselect /usr/bin/udevadm /usr/bin/ul /usr/bin/ulimit /usr/bin/umask /usr/bin/umount /usr/bin/unalias /usr/bin/uname /usr/bin/uname26 /usr/bin/unexpand /usr/bin/unicode_start /usr/bin/unicode_stop /usr/bin/uniq /usr/bin/unlink /usr/bin/unpigz /usr/bin/unshare /usr/bin/unversioned-python /usr/bin/unxz /usr/bin/unzip /usr/bin/unzipsfx /usr/bin/unzstd /usr/bin/update-ca-trust /usr/bin/update-crypto-policies /usr/bin/update-mime-database /usr/bin/uptime /usr/bin/users /usr/bin/utmpdump /usr/bin/uuidgen /usr/bin/uuidparse /usr/bin/vdir /usr/bin/vlock /usr/bin/vmstat /usr/bin/w /usr/bin/wait /usr/bin/wall /usr/bin/watch /usr/bin/watchgnupg /usr/bin/wc /usr/bin/wdctl /usr/bin/whereis /usr/bin/which /usr/bin/who /usr/bin/whoami /usr/bin/write /usr/bin/x86_64 /usr/bin/x86_64-pc-cygwin-addr2line /usr/bin/x86_64-pc-cygwin-ar /usr/bin/x86_64-pc-cygwin-as /usr/bin/x86_64-pc-cygwin-c++ /usr/bin/x86_64-pc-cygwin-c++filt /usr/bin/x86_64-pc-cygwin-cpp /usr/bin/x86_64-pc-cygwin-dlltool /usr/bin/x86_64-pc-cygwin-dllwrap /usr/bin/x86_64-pc-cygwin-elfedit /usr/bin/x86_64-pc-cygwin-g++ /usr/bin/x86_64-pc-cygwin-gcc /usr/bin/x86_64-pc-cygwin-gcc-9.3.0 /usr/bin/x86_64-pc-cygwin-gcc-ar /usr/bin/x86_64-pc-cygwin-gcc-nm /usr/bin/x86_64-pc-cygwin-gcc-ranlib /usr/bin/x86_64-pc-cygwin-gcov /usr/bin/x86_64-pc-cygwin-gcov-dump /usr/bin/x86_64-pc-cygwin-gcov-tool /usr/bin/x86_64-pc-cygwin-gprof /usr/bin/x86_64-pc-cygwin-ld /usr/bin/x86_64-pc-cygwin-ld.bfd /usr/bin/x86_64-pc-cygwin-nm /usr/bin/x86_64-pc-cygwin-objcopy /usr/bin/x86_64-pc-cygwin-objdump /usr/bin/x86_64-pc-cygwin-pkg-config /usr/bin/x86_64-pc-cygwin-ranlib /usr/bin/x86_64-pc-cygwin-readelf /usr/bin/x86_64-pc-cygwin-size /usr/bin/x86_64-pc-cygwin-strings /usr/bin/x86_64-pc-cygwin-strip /usr/bin/x86_64-pc-cygwin-windmc /usr/bin/x86_64-pc-cygwin-windres /usr/bin/x86_64-redhat-linux-c++ /usr/bin/x86_64-redhat-linux-g++ /usr/bin/x86_64-redhat-linux-gcc /usr/bin/x86_64-redhat-linux-gcc-8 /usr/bin/x86_64-redhat-linux-gnu-pkg-config /usr/bin/xargs /usr/bin/xgettext /usr/bin/xmlcatalog /usr/bin/xmllint /usr/bin/xmlwf /usr/bin/xz /usr/bin/xzcat /usr/bin/xzcmp /usr/bin/xzdec /usr/bin/xzdiff /usr/bin/xzegrep /usr/bin/xzfgrep /usr/bin/xzgrep /usr/bin/xzless /usr/bin/xzmore /usr/bin/yes /usr/bin/zcat /usr/bin/zcmp /usr/bin/zdiff /usr/bin/zegrep /usr/bin/zfgrep /usr/bin/zforce /usr/bin/zgrep /usr/bin/zip /usr/bin/zipcloak /usr/bin/zipgrep /usr/bin/zipinfo /usr/bin/zipnote /usr/bin/zipsplit /usr/bin/zless /usr/bin/zmore /usr/bin/znew /usr/bin/zsoelim /usr/bin/zstd /usr/bin/zstdcat /usr/bin/zstdgrep /usr/bin/zstdless /usr/bin/zstdmt + for i in `ls /usr/bin/*|grep -- "[-_]config$"` + case $i in + continue + for i in `ls /usr/bin/*|grep -- "[-_]config$"` + case $i in + continue + for i in `ls /usr/bin/*|grep -- "[-_]config$"` + case $i in + continue + for i in `ls /usr/bin/*|grep -- "[-_]config$"` + case $i in + continue + for i in `ls /usr/bin/*|grep -- "[-_]config$"` + case $i in + continue + for i in `ls /usr/bin/*|grep -- "[-_]config$"` + case $i in + continue ++ ls /usr/x86_64-pc-cygwin/sys-root/usr/bin/compile_et /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygatomic-1.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygcharset-1.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygewf-2.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygformw-10.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cyggcc_s-seh-1.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cyggomp-1.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygiconv-2.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygjpeg-8.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygmenuw-10.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygncurses++w-10.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygncursesw-10.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygpanelw-10.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygquadmath-0.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygstdc++-6.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygticw-10.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygturbojpeg-0.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygwin1.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygz.dll /usr/x86_64-pc-cygwin/sys-root/usr/bin/ewfacquire.exe /usr/x86_64-pc-cygwin/sys-root/usr/bin/ewfacquirestream.exe /usr/x86_64-pc-cygwin/sys-root/usr/bin/ewfdebug.exe /usr/x86_64-pc-cygwin/sys-root/usr/bin/ewfexport.exe /usr/x86_64-pc-cygwin/sys-root/usr/bin/ewfinfo.exe /usr/x86_64-pc-cygwin/sys-root/usr/bin/ewfmount.exe /usr/x86_64-pc-cygwin/sys-root/usr/bin/ewfrecover.exe /usr/x86_64-pc-cygwin/sys-root/usr/bin/ewfverify.exe /usr/x86_64-pc-cygwin/sys-root/usr/bin/mk_cmds /usr/x86_64-pc-cygwin/sys-root/usr/bin/ncurses6-config /usr/x86_64-pc-cygwin/sys-root/usr/bin/ncursesw6-config ++ grep -- '[-_]config$' + for i in `ls /usr/x86_64-pc-cygwin/sys-root/usr/bin/*|grep -- "[-_]config$"` ++ basename /usr/x86_64-pc-cygwin/sys-root/usr/bin/ncurses6-config ++ tr a-z+-. A-ZX__ + x=NCURSES6_CONFIG + declare -x NCURSES6_CONFIG=/usr/x86_64-pc-cygwin/sys-root/usr/bin/ncurses6-config + export NCURSES6_CONFIG + declare -x ac_cv_path_NCURSES6_CONFIG=/usr/x86_64-pc-cygwin/sys-root/usr/bin/ncurses6-config + export ac_cv_path_NCURSES6_CONFIG + for i in `ls /usr/x86_64-pc-cygwin/sys-root/usr/bin/*|grep -- "[-_]config$"` ++ basename /usr/x86_64-pc-cygwin/sys-root/usr/bin/ncursesw6-config ++ tr a-z+-. A-ZX__ + x=NCURSESW6_CONFIG + declare -x NCURSESW6_CONFIG=/usr/x86_64-pc-cygwin/sys-root/usr/bin/ncursesw6-config + export NCURSESW6_CONFIG + declare -x ac_cv_path_NCURSESW6_CONFIG=/usr/x86_64-pc-cygwin/sys-root/usr/bin/ncursesw6-config + export ac_cv_path_NCURSESW6_CONFIG + unset x i + unset PKG_CONFIG_LIBDIR PKG_CONFIG_SYSTEM_INCLUDE_PATH PKG_CONFIG_SYSTEM_LIBRARY_PATH + _cygwin64_topdir=. + test -x configure + _cygwin64_topdir=.. + ../configure --cache-file=cygwin64-config.cache --host=x86_64-pc-cygwin --build=x86_64-redhat-linux-gnu --target=x86_64-pc-cygwin --prefix=/usr/x86_64-pc-cygwin/sys-root/usr --exec-prefix=/usr/x86_64-pc-cygwin/sys-root/usr --bindir=/usr/x86_64-pc-cygwin/sys-root/usr/bin --sbindir=/usr/x86_64-pc-cygwin/sys-root/usr/sbin --sysconfdir=/usr/x86_64-pc-cygwin/sys-root/etc --datadir=/usr/x86_64-pc-cygwin/sys-root/usr/share --includedir=/usr/x86_64-pc-cygwin/sys-root/usr/include --libdir=/usr/x86_64-pc-cygwin/sys-root/usr/lib --libexecdir=/usr/x86_64-pc-cygwin/sys-root/usr/libexec --localstatedir=/usr/x86_64-pc-cygwin/sys-root/var --sharedstatedir=/usr/x86_64-pc-cygwin/sys-root/srv --mandir=/usr/x86_64-pc-cygwin/sys-root/usr/share/man --infodir=/usr/x86_64-pc-cygwin/sys-root/usr/share/info --enable-missing-uuid-ok configure: creating cache cygwin64-config.cache checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-pc-cygwin checking target system type... x86_64-pc-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for x86_64-pc-cygwin-strip... /usr/bin/x86_64-pc-cygwin-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-pc-cygwin-gcc... x86_64-pc-cygwin-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-cygwin-gcc accepts -g... yes checking for x86_64-pc-cygwin-gcc option to accept ISO C89... none needed checking whether x86_64-pc-cygwin-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-cygwin-gcc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-cygwin-g++ accepts -g... yes checking dependency style of x86_64-pc-cygwin-g++... gcc3 checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking pkg-config is at least version 0.9.0... yes checking for x86_64-pc-cygwin-windres... /usr/bin/x86_64-pc-cygwin-windres checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking how to run the C preprocessor... /usr/bin/x86_64-pc-cygwin-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking cygwin/fs.h usability... yes checking cygwin/fs.h presence... yes checking for cygwin/fs.h... yes checking cygwin/version.h usability... yes checking cygwin/version.h presence... yes checking for cygwin/version.h... yes checking dal/file_dal.h usability... no checking dal/file_dal.h presence... no checking for dal/file_dal.h... no checking dal/file.h usability... no checking dal/file.h presence... no checking for dal/file.h... no checking ddk/ntddstor.h usability... no checking ddk/ntddstor.h presence... no checking for ddk/ntddstor.h... no checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking giconv.h usability... no checking giconv.h presence... no checking for giconv.h... no checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking io.h usability... yes checking io.h presence... yes checking for io.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/fs.h usability... no checking linux/fs.h presence... no checking for linux/fs.h... no checking linux/hdreg.h usability... no checking linux/hdreg.h presence... no checking for linux/hdreg.h... no checking linux/types.h usability... no checking linux/types.h presence... no checking for linux/types.h... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking machine/endian.h usability... yes checking machine/endian.h presence... yes checking for machine/endian.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... yes checking ncurses/curses.h presence... yes checking for ncurses/curses.h... yes checking ncurses/ncurses.h usability... yes checking ncurses/ncurses.h presence... yes checking for ncurses/ncurses.h... yes checking ncursesw/curses.h usability... yes checking ncursesw/curses.h presence... yes checking for ncursesw/curses.h... yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking ntfs/version.h usability... yes checking ntfs/version.h presence... yes checking for ntfs/version.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking scsi/scsi.h usability... no checking scsi/scsi.h presence... no checking for scsi/scsi.h... no checking scsi/scsi_ioctl.h usability... no checking scsi/scsi_ioctl.h presence... no checking for scsi/scsi_ioctl.h... no checking scsi/sg.h usability... no checking scsi/sg.h presence... no checking for scsi/sg.h... no checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/cygwin.h usability... yes checking sys/cygwin.h presence... yes checking for sys/cygwin.h... yes checking sys/disk.h usability... no checking sys/disk.h presence... no checking for sys/disk.h... no checking sys/disklabel.h usability... no checking sys/disklabel.h presence... no checking for sys/disklabel.h... no checking sys/dkio.h usability... no checking sys/dkio.h presence... no checking for sys/dkio.h... no checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/vtoc.h usability... no checking sys/vtoc.h presence... no checking for sys/vtoc.h... no checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking w32api/ddk/ntdddisk.h usability... no checking w32api/ddk/ntdddisk.h presence... no checking for w32api/ddk/ntdddisk.h... no checking windef.h usability... yes checking windef.h presence... yes checking for windef.h... yes checking windows.h usability... yes checking windows.h presence... yes checking for windows.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking iconv support... yes, -liconv checking for sys/mount.h... yes checking for winbase.h... yes checking for winioctl.h... yes checking for w32api/winioctl.h... yes checking for ext2fs/ext2_fs.h... yes checking for ext2fs/ext2fs.h... yes checking for off64_t... no checking libewf.h usability... yes checking libewf.h presence... yes checking for libewf.h... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking ntfs/attrib.h usability... yes checking ntfs/attrib.h presence... yes checking for ntfs/attrib.h... yes checking ntfs/volume.h usability... yes checking ntfs/volume.h presence... yes checking for ntfs/volume.h... yes checking ntfs-3g/attrib.h usability... no checking ntfs-3g/attrib.h presence... no checking for ntfs-3g/attrib.h... no configure: WARNING: Disable use of ntfs3g library checking ntfs-3g/volume.h usability... no checking ntfs-3g/volume.h presence... no checking for ntfs-3g/volume.h... no configure: WARNING: Disable use of ntfs3g library checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for off_t... yes checking for size_t... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct stat.st_blksize... yes checking for struct stat.st_rdev... yes checking for dal_t.block_size... no checking for dal_t.error... no checking for dal_t.entity... no checking for dal_t.name... no checking for struct dal_ops.dev... no checking for struct struct_io_manager.set_option... yes checking for struct struct_io_manager.read_blk64... yes checking for struct struct_io_manager.write_blk64... yes checking for struct tm.tm_gmtoff... yes checking whether x86_64-pc-cygwin-gcc needs -traditional... no checking for initscr in -lncursesw... yes checking for keypad in -ltinfow... no checking for keypad in -ltinfo... no checking for assume_default_colors... yes checking for com_err in -lcom_err... yes checking for ext2fs_open in -lext2fs... yes checking for ext2fs_get_generic_bitmap_start... yes checking for jpeg_std_error in -ljpeg... yes checking for ntfs_device_mount in -lntfs... yes checking for libreiserfs_get_version in -lreiserfs... no configure: WARNING: No reiserfs library detected checking sys/uuid.h usability... no checking sys/uuid.h presence... no checking for sys/uuid.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking for uuidgen... no checking for library containing uuid_generate... -luuid checking for uuid_create... no checking for uuid_generate... yes checking for compress2 in -lz... yes checking for libewf_check_file_signature in -lewf... yes checking for libewf_handle_t... yes checking whether gcc understands -Wdeclaration-after-statement... yes checking whether gcc understands -Wall... yes checking whether gcc understands -Wextra... yes checking whether gcc understands -MD... yes checking whether gcc understands -Wpointer-arith... yes checking whether gcc understands -Wmissing-declarations... yes checking whether gcc understands -Wmissing-prototypes... yes checking whether gcc understands -Wstrict-prototypes... yes checking whether gcc understands -Wshadow... yes checking whether gcc understands -Wwrite-strings... yes checking whether gcc understands -W... yes checking whether gcc understands -Wcast-align... yes checking whether gcc understands -Waggregate-return... yes checking whether gcc understands -Wbad-function-cast... yes checking whether gcc understands -Wcast-qual... yes checking whether gcc understands -Wundef... yes checking whether gcc understands -Wredundant-decls... yes checking whether gcc understands -Wsign-compare... yes checking whether gcc understands -Wnested-externs... yes checking whether gcc understands -Winline... yes checking whether gcc understands -Wdisabled-optimization... yes checking whether gcc understands -Wfloat-equal... yes checking whether gcc understands -Wmissing-format-attribute... yes checking whether gcc understands -Wmultichar... yes checking whether gcc understands -Wc++-compat... yes checking whether gcc understands -Wformat=2... yes checking whether gcc understands -Wunreachable-code... yes checking whether gcc understands -Wvla... yes checking whether g++ understands -Wall... yes checking whether g++ understands -MD... yes checking whether g++ understands -Wpointer-arith... yes checking whether g++ understands -Wmissing-declarations... yes checking whether g++ understands -Wshadow... yes checking whether g++ understands -Wwrite-strings... yes checking whether g++ understands -W... yes checking whether g++ understands -Wcast-align... yes checking whether g++ understands -Wcast-qual... yes checking whether g++ understands -Wundef... yes checking whether g++ understands -Wredundant-decls... yes checking whether g++ understands -Wsign-compare... yes checking whether g++ understands -Wdisabled-optimization... yes checking whether g++ understands -Wmissing-format-attribute... yes checking whether g++ understands -Wmultichar... yes checking whether g++ understands -Wformat=2... yes checking whether g++ understands -fvisibility=hidden... yes checking whether g++ understands -fvisibility-inlines-hidden... yes checking whether g++ understands -fPIC... yes checking whether g++ understands -Wvla... yes checking for pread... yes checking for atexit... yes checking for atoll... yes checking for chdir... yes checking for chmod... yes checking for delscreen... no checking for dirname... yes checking for dup2... yes checking for execv... yes checking for fdatasync... yes checking for fseeko... yes checking for fsync... yes checking for ftello... yes checking for ftruncate... yes checking for getcwd... yes checking for geteuid... yes checking for getpwuid... yes checking for libewf_handle_read_buffer_at_offset... no checking for libewf_handle_write_buffer_at_offset... no checking for localtime_r... yes checking for lstat... yes checking for memalign... yes checking for memchr... yes checking for memset... yes checking for mkdir... yes checking for posix_fadvise... yes checking for posix_memalign... yes checking for pwrite... yes checking for readlink... yes checking for setenv... yes checking for setlocale... yes checking for sigaction... yes checking for signal... yes checking for sleep... yes checking for snprintf... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strptime... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking for touchwin... no checking for uname... yes checking for utime... yes checking for vsnprintf... yes checking for wctomb... yes checking for reiserfs_fs_open_fast... no checking for ntfs_libntfs_version... yes checking for ntfs_volume_startup... yes checking for QT5GUI... no checking for QT5WIDGETS... no checking whether Qt5 is using --std=c++14... Package Qt5Core was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt5Core.pc' to the PKG_CONFIG_PATH environment variable No package 'Qt5Core' found no checking whether Qt5 is using --std=c++11... Package Qt5Core was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt5Core.pc' to the PKG_CONFIG_PATH environment variable No package 'Qt5Core' found no checking for x86_64-pc-cygwin-moc-qt5... no checking for x86_64-pc-cygwin-moc... no checking for moc-qt5... no checking for moc... no configure: WARNING: Could not find a moc-qt5 or moc tool in your PATH. checking for x86_64-pc-cygwin-rcc-qt5... no checking for x86_64-pc-cygwin-rcc... no checking for rcc-qt5... no checking for rcc... no checking for x86_64-pc-cygwin-lrelease-qt5... configure: WARNING: Could not find a rcc-qt5 or rcc tool in your PATH. no checking for x86_64-pc-cygwin-lrelease... no checking for lrelease-qt5... no checking for lrelease... no configure: WARNING: Could not find a lrelease-qt5 or lrelease tool in your PATH. checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... no checking whether pthreads work with -pthreads... no checking whether pthreads work with -mthreads... no checking for the pthreads library -lpthread... no checking whether pthreads work with --thread-safe... no checking whether pthreads work with -mt... no checking for pthread-config... no checking whether stack protection works with gcc... yes checking whether stack protection works with g++... yes configure: updating cache cygwin64-config.cache checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating icons/Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating man/testdisk.8 config.status: creating man/photorec.8 config.status: creating man/qphotorec.8 config.status: creating man/fidentify.8 config.status: creating man/zh_CN/Makefile config.status: creating man/zh_CN/testdisk.8 config.status: creating man/zh_CN/photorec.8 config.status: creating man/zh_CN/qphotorec.8 config.status: creating man/zh_CN/fidentify.8 config.status: creating linux/testdisk.spec config.status: creating config.h config.status: executing depfiles commands + popd ~/build/BUILD/cygwin-testdisk-7.2 + run_cygwin_make -j2 + make -C build_32bit -j2 make: Entering directory '/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' make all-recursive make[1]: Entering directory '/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit' Making all in icons make[2]: Entering directory '/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/icons' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/icons' Making all in man make[2]: Entering directory '/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man' Making all in zh_CN make[3]: Entering directory '/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man/zh_CN' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man/zh_CN' make[3]: Entering directory '/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man' make[2]: Leaving directory '/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/man' Making all in src make[2]: Entering directory '/builddir/build/BUILD/cygwin-testdisk-7.2/build_32bit/src' CC autoset.o CC common.o In file included from ../../src/common.c:34: ../../src/common.c: In function 'strip_dup': ../../src/common.c:220:17: warning: array subscript has type 'char' [-Wchar-subscripts] 220 | while(isspace(*str)) | ^~~~ ../../src/common.c:224:22: warning: array subscript has type 'char' [-Wchar-subscripts] 224 | if (!isspace (str[i])) | ~~~^~~ CC crc.o CC ewf.o ../../src/ewf.c: In function 'fewf_sync': ../../src/ewf.c:427:30: warning: unused parameter 'disk' [-Wunused-parameter] 427 | static int fewf_sync(disk_t *disk) | ~~~~~~~~^~~~ ../../src/ewf.c: In function 'fewf_nopwrite': ../../src/ewf.c:507:52: warning: unused parameter 'buffer' [-Wunused-parameter] 507 | static int fewf_nopwrite(disk_t *disk, const void *buffer, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~~~~ CC fnctdsk.o CC hdaccess.o CC hdcache.o ../../src/hdaccess.c: In function 'disk_get_sector_size': ../../src/hdaccess.c:586:12: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] 586 | handle=(HANDLE)get_osfhandle(hd_h); | ^ ../../src/hdaccess.c: In function 'disk_get_geometry': ../../src/hdaccess.c:731:12: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] 731 | handle=(HANDLE)get_osfhandle(hd_h); | ^ ../../src/hdaccess.c: In function 'disk_get_size': ../../src/hdaccess.c:834:12: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] 834 | handle=(HANDLE)get_osfhandle(hd_h); | ^ ../../src/hdaccess.c: In function 'disk_get_model': ../../src/hdaccess.c:1084:12: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] 1084 | handle=(HANDLE)get_osfhandle(hd_h); | ^ ../../src/hdaccess.c: In function 'compute_device_size': ../../src/hdaccess.c:1103:54: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1103 | while(pread(hd_h, buffer, sector_size, max_offset) == sector_size) | ^~ ../../src/hdaccess.c:1113:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1113 | if(pread(hd_h, buffer, sector_size, cur_offset) == sector_size) | ^~ ../../src/hdaccess.c:1123:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1123 | if(pread(hd_h, buffer, sector_size, min_offset) == sector_size) | ^~ ../../src/hdaccess.c: In function 'file_pread_aux': ../../src/hdaccess.c:1222:19: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] 1222 | HANDLE handle=(HANDLE)get_osfhandle(fd); | ^ ../../src/hdaccess.c:1280:9: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 1280 | if(ret!=count) | ^~ ../../src/hdaccess.c: In function 'file_pwrite_aux': ../../src/hdaccess.c:1352:9: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 1352 | if(ret!=count) | ^~ ../../src/hdaccess.c: In function 'file_nopwrite': ../../src/hdaccess.c:1366:56: warning: unused parameter 'buf' [-Wunused-parameter] 1366 | static int file_nopwrite(disk_t *disk_car, const void *buf, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~ At top level: ../../src/hdaccess.c:228:21: warning: 'hd_glob_parse' defined but not used [-Wunused-function] 228 | static list_disk_t *hd_glob_parse(const char *device_pattern, list_disk_t *list_disk, const int verbose, const int testdisk_mode) | ^~~~~~~~~~~~~ CC hdwin32.o CC hidden.o CC hpa_dco.o CC intrf.o ../../src/hpa_dco.c: In function 'disk_get_hpa_dco': ../../src/hpa_dco.c:355:33: warning: unused parameter 'fd' [-Wunused-parameter] 355 | void disk_get_hpa_dco(const int fd, disk_t *disk) | ~~~~~~~~~~^~ ../../src/hpa_dco.c:355:45: warning: unused parameter 'disk' [-Wunused-parameter] 355 | void disk_get_hpa_dco(const int fd, disk_t *disk) | ~~~~~~~~^~~~ CC iso.o CC list_sort.o CC log.o CC log_part.o CC misc.o CC msdos.o CC parti386.o ../../src/parti386.c: In function 'init_part_order_i386': ../../src/parti386.c:329:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 329 | static list_part_t *init_part_order_i386(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ CC partgpt.o ../../src/partgpt.c: In function 'init_part_order_gpt': ../../src/partgpt.c:336:55: warning: unused parameter 'disk_car' [-Wunused-parameter] 336 | static list_part_t *init_part_order_gpt(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partgpt.c: In function 'set_next_status_gpt': ../../src/partgpt.c:409:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 409 | static void set_next_status_gpt(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partgpt.c: In function 'init_structure_gpt': ../../src/partgpt.c:432:89: warning: unused parameter 'verbose' [-Wunused-parameter] 432 | static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ CC parthumax.o ../../src/parthumax.c: In function 'read_part_humax': ../../src/parthumax.c:109:65: warning: unused parameter 'verbose' [-Wunused-parameter] 109 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~ ../../src/parthumax.c:109:84: warning: unused parameter 'saveheader' [-Wunused-parameter] 109 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ ../../src/parthumax.c: In function 'write_part_humax': ../../src/parthumax.c:159:37: warning: unused parameter 'disk_car' [-Wunused-parameter] 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ ../../src/parthumax.c:159:66: warning: unused parameter 'list_part' [-Wunused-parameter] 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/parthumax.c:159:101: warning: unused parameter 'verbose' [-Wunused-parameter] 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/parthumax.c: In function 'init_part_order_humax': ../../src/parthumax.c:167:57: warning: unused parameter 'disk_car' [-Wunused-parameter] 167 | static list_part_t *init_part_order_humax(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/parthumax.c: In function 'set_next_status_humax': ../../src/parthumax.c:235:49: warning: unused parameter 'disk_car' [-Wunused-parameter] 235 | static void set_next_status_humax(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/parthumax.c: In function 'init_structure_humax': ../../src/parthumax.c:271:91: warning: unused parameter 'verbose' [-Wunused-parameter] 271 | static void init_structure_humax(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/parthumax.c: In function 'get_partition_typename_humax': ../../src/parthumax.c:305:68: warning: unused parameter 'partition' [-Wunused-parameter] 305 | static const char *get_partition_typename_humax(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ CC partmac.o CC partsun.o ../../src/partmac.c: In function 'write_part_mac': ../../src/partmac.c:203:35: warning: unused parameter 'disk_car' [-Wunused-parameter] 203 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ ../../src/partmac.c:203:64: warning: unused parameter 'list_part' [-Wunused-parameter] 203 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/partmac.c:203:99: warning: unused parameter 'verbose' [-Wunused-parameter] 203 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/partsun.c: In function 'write_part_sun': ../../src/partsun.c:178:35: warning: unused parameter 'disk_car' [-Wunused-parameter] 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ ../../src/partsun.c:178:64: warning: unused parameter 'list_part' [-Wunused-parameter] 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/partsun.c:178:99: warning: unused parameter 'verbose' [-Wunused-parameter] 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/partsun.c: In function 'set_next_status_sun': ../../src/partsun.c:269:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 269 | static void set_next_status_sun(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partsun.c: In function 'init_structure_sun': ../../src/partsun.c:301:89: warning: unused parameter 'verbose' [-Wunused-parameter] 301 | static void init_structure_sun(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/partmac.c: In function 'init_part_order_mac': ../../src/partmac.c:211:55: warning: unused parameter 'disk_car' [-Wunused-parameter] 211 | static list_part_t *init_part_order_mac(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partmac.c: In function 'set_next_status_mac': ../../src/partmac.c:275:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 275 | static void set_next_status_mac(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partmac.c: In function 'init_structure_mac': ../../src/partmac.c:308:89: warning: unused parameter 'verbose' [-Wunused-parameter] 308 | static void init_structure_mac(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ CC partnone.o CC partxbox.o ../../src/partnone.c: In function 'get_geometry_from_nonembr': ../../src/partnone.c:176:77: warning: unused parameter 'verbose' [-Wunused-parameter] 176 | static int get_geometry_from_nonembr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry) | ~~~~~~~~~~^~~~~~~ ../../src/partnone.c: In function 'init_part_order_none': ../../src/partnone.c:306:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 306 | static list_part_t *init_part_order_none(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partnone.c: In function 'set_next_status_none': ../../src/partnone.c:312:48: warning: unused parameter 'disk_car' [-Wunused-parameter] 312 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partnone.c:312:71: warning: unused parameter 'partition' [-Wunused-parameter] 312 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~^~~~~~~~~ ../../src/partnone.c: In function 'test_structure_none': ../../src/partnone.c:316:45: warning: unused parameter 'list_part' [-Wunused-parameter] 316 | static int test_structure_none(list_part_t *list_part) | ~~~~~~~~~~~~~^~~~~~~~~ ../../src/partnone.c: In function 'is_part_known_none': ../../src/partnone.c:327:50: warning: unused parameter 'partition' [-Wunused-parameter] 327 | static int is_part_known_none(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/partnone.c: In function 'init_structure_none': ../../src/partnone.c:332:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 332 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partnone.c:332:90: warning: unused parameter 'verbose' [-Wunused-parameter] 332 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/partnone.c: In function 'check_part_none': ../../src/partnone.c:341:97: warning: unused parameter 'saveheader' [-Wunused-parameter] 341 | static int check_part_none(disk_t *disk_car,const int verbose,partition_t *partition, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ ../../src/partxbox.c: In function 'write_part_xbox': ../../src/partxbox.c:135:36: warning: unused parameter 'disk_car' [-Wunused-parameter] 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ ../../src/partxbox.c:135:65: warning: unused parameter 'list_part' [-Wunused-parameter] 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/partxbox.c:135:100: warning: unused parameter 'verbose' [-Wunused-parameter] 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/partxbox.c: In function 'init_part_order_xbox': ../../src/partxbox.c:143:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 143 | static list_part_t *init_part_order_xbox(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partxbox.c: In function 'set_next_status_xbox': ../../src/partxbox.c:207:48: warning: unused parameter 'disk_car' [-Wunused-parameter] 207 | static void set_next_status_xbox(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ ../../src/partxbox.c: In function 'init_structure_xbox': ../../src/partxbox.c:240:90: warning: unused parameter 'verbose' [-Wunused-parameter] 240 | static void init_structure_xbox(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ CC io_redir.o CC ntfs_io.o ../../src/ntfs_io.c: In function 'ntfs_device_testdisk_io_stat': ../../src/ntfs_io.c:153:61: warning: unused parameter 'dev' [-Wunused-parameter] 153 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~~~~~~~~^~~ ../../src/ntfs_io.c:153:79: warning: unused parameter 'buf' [-Wunused-parameter] 153 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~^~~ ../../src/ntfs_io.c: In function 'ntfs_device_testdisk_io_ioctl': ../../src/ntfs_io.c:162:62: warning: unused parameter 'dev' [-Wunused-parameter] 162 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, | ~~~~~~~~~~~~~~~~~~~~^~~ ../../src/ntfs_io.c:162:71: warning: unused parameter 'request' [-Wunused-parameter] 162 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, | ~~~~^~~~~~~ ../../src/ntfs_io.c:163:9: warning: unused parameter 'argp' [-Wunused-parameter] 163 | void *argp) | ~~~~~~^~~~ CC ntfs_utl.o CC partauto.o CC sudo.o CC unicode.o CC win32.o CC analyse.o CC bfs.o CC bsd.o CC btrfs.o CC cramfs.o ../../src/win32.c: In function 'disk_get_sector_size_win32': ../../src/win32.c:69:68: warning: unused parameter 'device' [-Wunused-parameter] 69 | unsigned int disk_get_sector_size_win32(HANDLE handle, const char *device, const int verbose) | ~~~~~~~~~~~~^~~~~~ ../../src/win32.c:69:86: warning: unused parameter 'verbose' [-Wunused-parameter] 69 | unsigned int disk_get_sector_size_win32(HANDLE handle, const char *device, const int verbose) | ~~~~~~~~~~^~~~~~~ ../../src/win32.c: In function 'file_win32_nopwrite': ../../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 exfat.o CC ext2.o CC ext2_common.o CC fat.o CC fat_common.o CC fatx.o CC f2fs.o ../../src/f2fs.c: In function 'recover_f2fs': ../../src/f2fs.c:90:32: warning: unused parameter 'disk' [-Wunused-parameter] 90 | int recover_f2fs(const disk_t *disk, const struct f2fs_super_block *hdr, partition_t *partition) | ~~~~~~~~~~~~~~^~~~ CC jfs.o CC gfs2.o CC hfs.o CC hfsp.o CC hpfs.o CC luks.o CC lvm.o CC md.o CC netware.o CC ntfs.o ../../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 ../../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:759:20: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 759 | 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 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:244:36: warning: array subscript has type 'char' [-Wchar-subscripts] 244 | 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:351:51: warning: unused parameter 'buffer' [-Wunused-parameter] 351 | 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:559:15: warning: array subscript has type 'char' [-Wchar-subscripts] 559 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:559:33: warning: array subscript has type 'char' [-Wchar-subscripts] 559 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:559:51: warning: array subscript has type 'char' [-Wchar-subscripts] 559 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:559:69: warning: array subscript has type 'char' [-Wchar-subscripts] 559 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c: In function '_file_rename_unicode': ../../src/filegen.c:688:15: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:688:33: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:688:51: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:688:69: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ CC file_list.o CC file_1cd.o ../../src/file_1cd.c: In function 'header_check_1cd': ../../src/file_1cd.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_7z.o ../../src/file_7z.c: In function 'header_check_7z': ../../src/file_7z.c:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_DB.o ../../src/file_DB.c: In function 'header_check_DB': ../../src/file_DB.c:43:49: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | 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:43:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_a.o CC file_ab.o ../../src/file_a.c: In function 'header_check_a': ../../src/file_a.c:55:75: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:107: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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_ab.c: In function 'header_check_addressbook': ../../src/file_ab.c:71:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | 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:71:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | 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:71:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_abr.o CC file_acb.o ../../src/file_abr.c: In function 'header_check_abr': ../../src/file_abr.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_acb.c: In function 'header_check_acb': ../../src/file_acb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ace.o CC file_ado.o ../../src/file_ace.c: In function 'header_check_ace': ../../src/file_ace.c:173:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 173 | 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:173:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 173 | 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:173:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 173 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_afdesign.o ../../src/file_afdesign.c: In function 'header_check_afdesign': ../../src/file_afdesign.c:63:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | 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:63:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | 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:63:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_amd.o ../../src/file_als.c: In function 'header_check_als': ../../src/file_als.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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_amr.o ../../src/file_amd.c: In function 'header_check_amd': ../../src/file_amd.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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_amr.c: In function 'header_check_amr': ../../src/file_amr.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_apa.o CC file_ape.o ../../src/file_apa.c: In function 'header_check_apa': ../../src/file_apa.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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_apple.o ../../src/file_ape.c: In function 'header_check_ape': ../../src/file_ape.c:101:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 101 | 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:101:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 101 | 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 ../../src/file_apple.c: In function 'header_check_apple': ../../src/file_apple.c:43:52: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | 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:43:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | 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_arj.o ../../src/file_ari.c: In function 'header_check_ari': ../../src/file_ari.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:153:32: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 153 | if(file_recovery_new->time < le32(arj->mtime)) | ^ ../../src/file_arj.c:125:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 125 | 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:125:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 125 | 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:125:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 125 | 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:72:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | 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:72:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:68:50: warning: unused parameter 'buffer' [-Wunused-parameter] 68 | 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:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | 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:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | 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:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | 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:85:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 85 | 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:85:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 85 | 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:85:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 85 | 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:92:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 92 | 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:92:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 92 | 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:92:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 92 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_bim.o ../../src/file_berkeley.c: In function 'header_check_berkeley_le': ../../src/file_berkeley.c:44:58: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_bim.c: In function 'header_check_bim': ../../src/file_bim.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_binvox.c: In function 'header_check_binvox': ../../src/file_binvox.c:44:53: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_bin.c: In function 'header_check_bin': ../../src/file_bin.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bkf.o CC file_bld.o ../../src/file_bkf.c: In function 'header_check_bkf': ../../src/file_bkf.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | 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:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | 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:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | 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:140:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 140 | 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:140:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 140 | 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:140:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 140 | 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:105:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 105 | 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:105:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 105 | 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:105:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 105 | 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:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | 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:60:50: warning: unused parameter 'buffer' [-Wunused-parameter] 60 | 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:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | 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:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | 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:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | 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:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | 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:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | 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:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | 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:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:57: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:84: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:157: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:87:50: warning: unused parameter 'buffer' [-Wunused-parameter] 87 | 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:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | 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:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | 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:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_chm.o ../../src/file_chm.c: In function 'header_check_chm': ../../src/file_chm.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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 ../../src/file_chm.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_cm.o ../../src/file_class.c: In function 'header_check_class': ../../src/file_class.c:61:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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_compress.o ../../src/file_cm.c: In function 'header_check_cm': ../../src/file_cm.c:45:49: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:44:55: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:77:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | 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:77:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | 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:77:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | 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:90:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 90 | 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:90:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 90 | 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:90:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 90 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | 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:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | 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:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | 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_ctg.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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 CC file_dad.o ../../src/file_d2s.c: In function 'header_check_d2s': ../../src/file_d2s.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | 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:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | 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:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | 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:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | 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:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_dar.o CC file_dat.o ../../src/file_dar.c: In function 'header_check_dar': ../../src/file_dar.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dat.c: In function 'header_check_dat': ../../src/file_dat.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:52:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:66:86: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | 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:66:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:159: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | 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:76:87: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | 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:76:119: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | 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:76:160: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dbf.o CC file_dbn.o ../../src/file_dbf.c: In function 'header_check_dbf': ../../src/file_dbf.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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_dbn.c: In function 'header_check_dbn': ../../src/file_dbn.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dcm.o CC file_ddf.o ../../src/file_dcm.c: In function 'header_check_dcm': ../../src/file_dcm.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_ddf.c: In function 'header_check_ddf3': ../../src/file_ddf.c:94:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 94 | 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:94:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 94 | 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:94:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 94 | 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:104:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | 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:104:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | 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:104:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | 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:114:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 114 | 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:114:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 114 | 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:114:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 114 | 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_dex.o CC file_dim.o ../../src/file_dex.c: In function 'header_check_dex': ../../src/file_dex.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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_dir.o ../../src/file_dim.c: In function 'header_check_dim': ../../src/file_dim.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:71:60: warning: unused parameter 'buffer' [-Wunused-parameter] 71 | 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:78:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 78 | 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:78:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 78 | 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:78:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 78 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dpx.o ../../src/file_doc.c: In function 'header_check_doc': ../../src/file_doc.c:1660:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 1660 | 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:1660:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 1660 | 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:81:66: warning: pointer targets in passing argument 1 of 'get_time_from_YYYY_MM_DD_HH_MM_SS' differ in signedness [-Wpointer-sign] 81 | 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:34: ../../src/filegen.h:296:63: note: expected 'const unsigned char *' but argument is of type 'const char *' 296 | time_t get_time_from_YYYY_MM_DD_HH_MM_SS(const unsigned char *date_asc); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../src/file_dpx.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | 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:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | 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:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:32: ../../src/file_ds2.c: In function 'header_check_ds2': ../../src/file_ds2.c:63:25: warning: array subscript has type 'char' [-Wchar-subscripts] 63 | if(!isdigit(date_asc[i])) | ~~~~~~~~^~~ ../../src/file_ds2.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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:55:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:43:50: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | 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:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | 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:32: ../../src/file_dss.c: In function 'header_check_dss': ../../src/file_dss.c:66:25: warning: array subscript has type 'char' [-Wchar-subscripts] 66 | if(!isdigit(date_asc[i])) | ~~~~~~~~^~~ ../../src/file_dss.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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:39: ../../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:1723:11: note: called from here 1723 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1727:11: note: called from here 1727 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1731:11: note: called from here 1731 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1732:7: note: called from here 1732 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1733:7: note: called from here 1733 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1734:7: note: called from here 1734 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1738:11: note: called from here 1738 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1742:11: note: called from here 1742 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1746:11: note: called from here 1746 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1750:11: note: called from here 1750 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1754:11: note: called from here 1754 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1758:11: note: called from here 1758 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1762:11: note: called from here 1762 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1763:10: note: called from here 1763 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1767:11: note: called from here 1767 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/file_dst.c: In function 'header_check_dst': ../../src/file_dst.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:126:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 126 | 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:126:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 126 | 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:126:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 126 | 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:131:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 131 | 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:131:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 131 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | 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:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | 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:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:71:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | 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:71:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | 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:71:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | 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:120:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 120 | 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:120:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 120 | 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:120:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 120 | 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:392:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 392 | 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:392:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 392 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_evt.o CC file_evtx.o ../../src/file_evt.c: In function 'header_check_evt': ../../src/file_evt.c:84:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 84 | 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:84:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 84 | 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:84:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 84 | 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:61:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_exe.o CC file_exr.o ../../src/file_exe.c: In function 'header_check_exe': ../../src/file_exe.c:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | 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:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | 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:376:16: warning: variable 'val_len' set but not used [-Wunused-but-set-variable] 376 | unsigned int val_len; | ^~~~~~~ ../../src/file_exr.c: In function 'header_check_exr': ../../src/file_exr.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:66:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | 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:66:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | 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:80:60: warning: unused parameter 'buffer' [-Wunused-parameter] 80 | 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:104:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | 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:104:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | 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:104:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ext2.o CC file_fat.o ../../src/file_ext2.c: In function 'header_check_ext2_fs': ../../src/file_ext2.c:55:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_fbf.o ../../src/file_fat.c: In function 'header_check_fat': ../../src/file_fat.c: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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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 ../../src/file_fcp.c: In function 'header_check_fcp': ../../src/file_fcp.c:49:50: warning: unused parameter 'buffer' [-Wunused-parameter] 49 | 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:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 49 | 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | 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:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | 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:95:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 95 | 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:95:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 95 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:46:51: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fh5.o ../../src/file_fh5.c: In function 'header_check_fh5': ../../src/file_fh5.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_filevault.o ../../src/file_fh5.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fits.o ../../src/file_filevault.c: In function 'header_check_filevault': ../../src/file_filevault.c:45:56: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_fit.o ../../src/file_fits.c: In function 'fits_info': ../../src/file_fits.c:104:56: warning: pointer targets in passing argument 1 of 'get_time_from_YYYY_MM_DD_HH_MM_SS' differ in signedness [-Wpointer-sign] 104 | file_recovery->time=get_time_from_YYYY_MM_DD_HH_MM_SS(date_asc); | ^~~~~~~~ | | | const char * In file included from ../../src/file_fits.c:34: ../../src/filegen.h:296:63: note: expected 'const unsigned char *' but argument is of type 'const char *' 296 | time_t get_time_from_YYYY_MM_DD_HH_MM_SS(const unsigned char *date_asc); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../src/file_fits.c: In function 'header_check_fits': ../../src/file_fits.c:143:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 143 | 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:143:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 143 | 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:81:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 81 | 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:81:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | 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:81:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | 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:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:94:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 94 | 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:94:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 94 | 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:94:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 94 | 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 ../../src/file_fm.c: In function 'header_check_fm': ../../src/file_fm.c:51:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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:57:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 57 | if(pos2!=NULL && pos2-buffer > tmp) | ^ ../../src/file_fob.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:43:50: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | 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:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | 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:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | 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:44:54: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_frm.c: In function 'header_check_frm': ../../src/file_frm.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fs.o CC file_fwd.o ../../src/file_fs.c: In function 'header_check_fs': ../../src/file_fs.c:82:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | 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:82:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | 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:82:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 82 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_fwd.c: In function 'header_check_fwd': ../../src/file_fwd.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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: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_gho.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_gho.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_gi.c: In function 'header_check_gi': ../../src/file_gi.c:51:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | 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:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | 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:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:61:50: warning: unused parameter 'buffer' [-Wunused-parameter] 61 | 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:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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:69:50: warning: unused parameter 'buffer' [-Wunused-parameter] 69 | 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:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | 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:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | 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:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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_gpx.o ../../src/file_gpg.c: In function 'header_check_gpg': ../../src/file_gpg.c:520:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 520 | 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:520:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 520 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | 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:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | 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:82:46: warning: unused parameter 'file_recovery' [-Wunused-parameter] 82 | static void file_check_bgzf(file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gz.c: In function 'header_check_bgzf': ../../src/file_gz.c:86:115: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_bgzf(const unsigned char *buffer, const unsigned char *buffer_uncompr, const unsigned int buffer_size, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gz.c: In function 'header_check_gz': ../../src/file_gz.c:180:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 180 | d_stream.next_in = (Bytef*)buffer_compr; | ^ ../../src/file_gz.c:116:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | 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:116:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 116 | 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:116:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | 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:116:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 116 | 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 ../../src/file_hdr.c: In function 'header_check_hdr': ../../src/file_hdr.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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_hds.o CC file_hfsp.o ../../src/file_hds.c: In function 'header_check_hds': ../../src/file_hds.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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_hfsp.c: In function 'header_check_hfsp': ../../src/file_hfsp.c:46:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_hm.o CC file_hr9.o ../../src/file_hm.c: In function 'header_check_hm': ../../src/file_hm.c:44:49: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_hr9.c: In function 'header_check_hr9': ../../src/file_hr9.c:49:50: warning: unused parameter 'buffer' [-Wunused-parameter] 49 | 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:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 49 | 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | 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:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | 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_http.o CC file_ibd.o ../../src/file_http.c: In function 'header_check_http': ../../src/file_http.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_ibd.c: In function 'header_check_ibd': ../../src/file_ibd.c:52:10: warning: left shift of negative value [-Wshift-negative-value] 52 | ((~(~0 << (DICT_TF_BITS - DICT_TF_FORMAT_SHIFT))) << DICT_TF_FORMAT_SHIFT) | ^~ ../../src/file_ibd.c:81:42: note: in expansion of macro 'DICT_TF_FORMAT_MASK' 81 | const unsigned int format = (flags & DICT_TF_FORMAT_MASK) >> DICT_TF_FORMAT_SHIFT; | ^~~~~~~~~~~~~~~~~~~ ../../src/file_ibd.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | 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:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_icc.o CC file_icns.o ../../src/file_icc.c: In function 'header_check_icc': ../../src/file_icc.c:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | 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_icns.c: In function 'header_check_icns': ../../src/file_icns.c:99:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 99 | 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:99:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 99 | 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:99:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 99 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ico.o ../../src/file_ico.c: In function 'header_check_ico': ../../src/file_ico.c:79:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 79 | 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:79:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 79 | 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 ../../src/file_ifo.c: In function 'header_check_ifo': ../../src/file_ifo.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_idx.o CC file_imb.o ../../src/file_imb.c: In function 'header_check_imb': ../../src/file_imb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_idx.c: In function 'header_check_idx': ../../src/file_idx.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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_indd.o CC file_info.o ../../src/file_indd.c: In function 'header_check_indd': ../../src/file_indd.c:114:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 114 | 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:114:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 114 | 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:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:46:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:71:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | 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:71:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | 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:71:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | 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:45:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:45:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:522:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 522 | 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:694:45: warning: unused parameter 'cinfo' [-Wunused-parameter] 694 | static void my_output_message (j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ ../../src/file_jpg.c: In function 'jpg_term_source': ../../src/file_jpg.c:885:47: warning: unused parameter 'cinfo' [-Wunused-parameter] 885 | static void jpg_term_source (j_decompress_ptr cinfo) | ~~~~~~~~~~~~~~~~~^~~~~ ../../src/file_jpg.c: In function 'jpg_find_error': ../../src/file_jpg.c:1205:118: warning: unused parameter 'checkpoint_offset' [-Wunused-parameter] 1205 | 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_kdb.c: In function 'header_check_kdb': ../../src/file_kdb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:222:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 222 | 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:222:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 222 | 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:44:52: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | 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:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | 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:51:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:107:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 107 | 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:107:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 107 | 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:107:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 107 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:112:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 112 | 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:169:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 169 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_max.o CC file_mb.o ../../src/file_max.c: In function 'header_check_max': ../../src/file_max.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mcd.o ../../src/file_mb.c: In function 'header_check_mb': ../../src/file_mb.c:52:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:66:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | 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:66:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | 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:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | 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:54:52: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | 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_mdf.c: In function 'header_check_mdf': ../../src/file_mdf.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:54:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:61:50: warning: unused parameter 'buffer' [-Wunused-parameter] 61 | 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:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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_mfa.o CC file_mfg.o ../../src/file_mfa.c: In function 'header_check_mfa': ../../src/file_mfa.c:49:50: warning: unused parameter 'buffer' [-Wunused-parameter] 49 | 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:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 49 | 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | 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:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mfg.c: In function 'header_check_mfg': ../../src/file_mfg.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mft.o CC file_mid.o ../../src/file_mft.c: In function 'header_check_mft': ../../src/file_mft.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | 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:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | 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:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mid.c: In function 'header_check_mid': ../../src/file_mid.c:104:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | 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:104:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | 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:104:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mig.o ../../src/file_mig.c: In function 'header_check_mig': ../../src/file_mig.c:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | 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:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | 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:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mk5.o ../../src/file_mk5.c: In function 'header_check_mk5': ../../src/file_mk5.c:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mkv.o CC file_mlv.o ../../src/file_mkv.c: In function 'header_check_mkv': ../../src/file_mkv.c:119:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 119 | 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:119:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 119 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mlv.c: In function 'header_check_mlv': ../../src/file_mlv.c:132:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 132 | 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:132:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 132 | 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:132:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 132 | 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:59:51: warning: unused parameter 'buffer' [-Wunused-parameter] 59 | 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:59:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | 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:59:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | 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:59:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mov.c: In function 'header_check_mov_aux': ../../src/file_mov.c:228:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 228 | static int header_check_mov_aux(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_mp3.o ../../src/file_mp3.c: In function 'header_check_id3': ../../src/file_mp3.c:461:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 461 | 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:461:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 461 | 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:461:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 461 | 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:516:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 516 | 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:164:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 164 | 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:227:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 227 | 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:268:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 268 | 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:302:120: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 302 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | 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:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | 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:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_msa.o CC file_mus.o ../../src/file_msa.c: In function 'header_check_msa': ../../src/file_msa.c:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mus.c: In function 'header_check_mus': ../../src/file_mus.c:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | 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:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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 ../../src/file_mus.c:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | 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_myo.o ../../src/file_mxf.c: In function 'header_check_mxf': ../../src/file_mxf.c:106:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 106 | 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:106:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | 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:106:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:55:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | 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:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | 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:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:180:50: warning: unused parameter 'buffer' [-Wunused-parameter] 180 | 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:180:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 180 | 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:180:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 180 | 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:180:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 180 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | 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:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | 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:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 49 | 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:45:55: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:52:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:108:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 108 | 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:108:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 108 | 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:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | 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:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | 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:85:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 85 | 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:85:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 85 | 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:85:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 85 | 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:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | 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:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | 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:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | 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:272:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 272 | 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:272:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 272 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:108:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 108 | 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:108:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 108 | 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:108:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 108 | 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:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | 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:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | 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_plist.c: In function 'header_check_plist': ../../src/file_plist.c:47:52: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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_pgdump.c: In function 'header_check_pgdump': ../../src/file_pgdump.c:96:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 96 | 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:96:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 96 | 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:96:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 96 | 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_plr.o CC file_plt.o ../../src/file_plt.c: In function 'header_check_plt': ../../src/file_plr.c: In function 'header_check_plr': ../../src/file_plt.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_plr.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_png.o CC file_pnm.o ../../src/file_pnm.c: In function 'header_check_pbm': ../../src/file_pnm.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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_png.c: In function 'header_check_jng': ../../src/file_png.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | 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_pnm.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | 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:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | 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:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | 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:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | 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:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | 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:93:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 93 | 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:93:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 93 | 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:93:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 93 | 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:172:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 172 | 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:172:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 172 | 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:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | 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:98:62: warning: unused parameter 'buffer' [-Wunused-parameter] 98 | 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:98:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | 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:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | 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:98:62: warning: unused parameter 'buffer' [-Wunused-parameter] 98 | 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:98:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | 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 CC file_psp.o ../../src/file_psf.c: In function 'header_check_psf': ../../src/file_psf.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_pst.o ../../src/file_psp.c: In function 'header_check_psp': ../../src/file_psp.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | 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:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | 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:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | 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:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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:92:50: warning: unused parameter 'buffer' [-Wunused-parameter] 92 | 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:92:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 92 | 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:92:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 92 | 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:92:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 92 | 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:99:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 99 | 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:99:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 99 | 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:99:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 99 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_pyc.c: In function 'header_check_pyc': ../../src/file_pyc.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pzf.o CC file_pzh.o ../../src/file_pzf.c: In function 'header_check_pzf': ../../src/file_pzf.c:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_qbb.o ../../src/file_pzh.c: In function 'header_check_pzh': ../../src/file_pzh.c:69:50: warning: unused parameter 'buffer' [-Wunused-parameter] 69 | 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:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | 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:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_qdf.o ../../src/file_qbb.c: In function 'header_check_qbb': ../../src/file_qbb.c:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | 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:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | 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:136:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 136 | 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:136:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 136 | 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:136:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 136 | 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:151:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 151 | 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:151:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 151 | 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:151:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 151 | 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_qdf.c: In function 'header_check_qdf': ../../src/file_qdf.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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_ra.c: In function 'header_check_ra': ../../src/file_ra.c:83:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | 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:83:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 83 | 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:83:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 83 | 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_r3d.c: In function 'header_check_r3d': ../../src/file_r3d.c:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | 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:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | 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:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | 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:116:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 116 | 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:116:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | 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:116:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 116 | 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_raf.o ../../src/file_raf.c: In function 'header_check_raf': ../../src/file_raf.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | 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_rar.o CC file_raw.o ../../src/file_rar.c: In function 'header_check_rar15fmt': ../../src/file_rar.c:53:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:69:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | 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:69:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | 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:69:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | 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_raw.c: In function 'header_check_raw': ../../src/file_raw.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rdc.o CC file_reg.o ../../src/file_rdc.c: In function 'header_check_rdc': ../../src/file_rdc.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_reg.c: In function 'header_check_reg_9x': ../../src/file_reg.c:72:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | 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:72:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | 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:106:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 106 | 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:106:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | 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:106:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_res.o CC file_rfp.o ../../src/file_res.c: In function 'header_check_res': ../../src/file_res.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_rfp.c: In function 'header_check_rfp': CC file_riff.o ../../src/file_rfp.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rlv.o ../../src/file_riff.c: In function 'header_check_riff': ../../src/file_riff.c:216:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 216 | 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:216:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 216 | 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:317:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 317 | 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:317:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 317 | 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:317:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 317 | 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_rlv.c: In function 'header_check_rlv': ../../src/file_rlv.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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 ../../src/file_rns.c: In function 'header_check_rns': ../../src/file_rns.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_rpm.o CC file_rw2.o ../../src/file_rw2.c: In function 'header_check_rw2': ../../src/file_rw2.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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_rpm.c: In function 'header_check_rpm': ../../src/file_rpm.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | 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:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | 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:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | 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_rx2.o CC file_save.o ../../src/file_rx2.c: In function 'header_check_rx2': ../../src/file_rx2.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_ses.c: In function 'header_check_ses': ../../src/file_ses.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_sdsk.c: In function 'header_check_sdsk': ../../src/file_sdsk.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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 CC file_shn.o ../../src/file_sgcta.c: In function 'header_check_sgcta': ../../src/file_sgcta.c:44:52: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:115:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 115 | 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:115:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 115 | 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:115:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 115 | 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:38: ../../src/file_sig.c: In function 'parse_signature_file': ../../src/file_sig.c:240:31: warning: array subscript has type 'char' [-Wchar-subscripts] 240 | while(*pos!='\0' && !isspace(*pos)) | ^~~~ ../../src/file_sig.c:249:21: warning: array subscript has type 'char' [-Wchar-subscripts] 249 | while(isspace(*pos)) | ^~~~ ../../src/file_sig.c:269:13: warning: array subscript has type 'char' [-Wchar-subscripts] 269 | if(isspace(*pos) || *pos=='\r' || *pos==',') | ^~~~ ../../src/file_sig.c:369:19: warning: array subscript has type 'char' [-Wchar-subscripts] 369 | while(isxdigit(*pos) && isxdigit(*(pos+1))) | ^~~~ ../../src/file_sig.c:369:37: warning: array subscript has type 'char' [-Wchar-subscripts] 369 | while(isxdigit(*pos) && isxdigit(*(pos+1))) | ^~~~~~~~ CC file_sit.o ../../src/file_sit.c: In function 'header_check_sit': ../../src/file_sit.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:43:50: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | 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:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:50:51: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | 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:50:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sp3.o CC file_spe.o ../../src/file_sp3.c: In function 'header_check_sp3': ../../src/file_sp3.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_spe.c: In function 'header_check_spe': ../../src/file_spe.c:284:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 284 | 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:284:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 284 | 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:86:50: warning: unused parameter 'buffer' [-Wunused-parameter] 86 | 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:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | 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:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | 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:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | 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:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:74:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | 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:74:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:61:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:45:54: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:52:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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 ../../src/file_swf.c: In function 'header_check_swfc': ../../src/file_swf.c:159:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 159 | d_stream.next_in = (Bytef*)buffer_compr; | ^ ../../src/file_swf.c:134:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 134 | 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:134:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 134 | 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:224:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 224 | 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:224:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 224 | 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:224:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 224 | 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:275:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 275 | 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:275:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 275 | 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:275:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 275 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from ../../src/file_tar.c:30: ../../src/file_tar.c: In function 'header_check_tar': ../../src/file_tar.c:70:24: warning: array subscript has type 'char' [-Wchar-subscripts] 70 | if(!isspace(h->chksum[0]) && !((unsigned) (h->chksum[0]) - '0' <= 7)) | ~~~~~~~~~^~~ ../../src/file_tar.c:67:70: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | 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:67:102: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_tax.o ../../src/file_tax.c: In function 'header_check_tax': ../../src/file_tax.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:44:49: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:103:50: warning: unused parameter 'buffer' [-Wunused-parameter] 103 | 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:103:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 103 | 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:103:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 103 | 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:103:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 103 | 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:110:51: warning: unused parameter 'buffer' [-Wunused-parameter] 110 | 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:110:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 110 | 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:110:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 110 | 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:110:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 110 | 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:761:106: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 761 | 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:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:44:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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:524:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 524 | p+2-bufferhandle, | ^ ../../src/log.h:59:78: note: in definition of macro 'log_warning' 59 | #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) | ~~~~~~~~~~~~~^~~~ 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/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:759:20: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 759 | 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:244:36: warning: array subscript has type 'char' [-Wchar-subscripts] 244 | 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:351:51: warning: unused parameter 'buffer' [-Wunused-parameter] 351 | 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:559:15: warning: array subscript has type 'char' [-Wchar-subscripts] 559 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:559:33: warning: array subscript has type 'char' [-Wchar-subscripts] 559 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:559:51: warning: array subscript has type 'char' [-Wchar-subscripts] 559 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:559:69: warning: array subscript has type 'char' [-Wchar-subscripts] 559 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c: In function '_file_rename_unicode': ../../src/filegen.c:688:15: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:688:33: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:688:51: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ ../../src/filegen.c:688:69: warning: array subscript has type 'char' [-Wchar-subscripts] 688 | if(isprint(*src) && !isspace(*src) && !ispunct(*src) && !iscntrl(*src)) | ^~~~ CC file_list.o CC file_1cd.o ../../src/file_1cd.c: In function 'header_check_1cd': ../../src/file_1cd.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_7z.o CC file_DB.o ../../src/file_7z.c: In function 'header_check_7z': ../../src/file_7z.c:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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_DB.c: In function 'header_check_DB': ../../src/file_DB.c:43:49: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | 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:43:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_a.o CC file_ab.o ../../src/file_a.c: In function 'header_check_a': ../../src/file_a.c:55:75: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:107: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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_ab.c: In function 'header_check_addressbook': ../../src/file_ab.c:71:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | 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:71:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | 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:71:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_abr.o CC file_acb.o ../../src/file_abr.c: In function 'header_check_abr': ../../src/file_abr.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_acb.c: In function 'header_check_acb': ../../src/file_acb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ace.o CC file_ado.o ../../src/file_ace.c: In function 'header_check_ace': ../../src/file_ace.c:173:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 173 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:173:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 173 | 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:173:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 173 | 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 CC file_ahn.o ../../src/file_afdesign.c: In function 'header_check_afdesign': ../../src/file_afdesign.c:63:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | 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:63:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | 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:63:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_aif.o ../../src/file_ahn.c: In function 'header_check_ahn': ../../src/file_ahn.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_amd.o ../../src/file_als.c: In function 'header_check_als': ../../src/file_als.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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_amr.o ../../src/file_amd.c: In function 'header_check_amd': ../../src/file_amd.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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_amr.c: In function 'header_check_amr': ../../src/file_amr.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_apa.o ../../src/file_apa.c: In function 'header_check_apa': ../../src/file_apa.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:101:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 101 | 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:101:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 101 | 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:43:52: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | 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:43:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | 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:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:125:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 125 | 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:125:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 125 | 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:125:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 125 | 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:72:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | 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:72:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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 ../../src/file_asm.c: In function 'header_check_asm': ../../src/file_asm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_atd.o CC file_au.o ../../src/file_atd.c: In function 'header_check_atd': ../../src/file_atd.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_au.c: In function 'header_check_au': ../../src/file_au.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_axp.o ../../src/file_au.c:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:68:50: warning: unused parameter 'buffer' [-Wunused-parameter] 68 | 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:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | 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:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | 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:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | 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 ../../src/file_axx.c: In function 'header_check_axx': ../../src/file_axx.c:85:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 85 | 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:85:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 85 | 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:85:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 85 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bac.o ../../src/file_bac.c: In function 'header_check_bac': ../../src/file_bac.c:92:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 92 | 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:92:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 92 | 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:92:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 92 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_bim.o ../../src/file_berkeley.c: In function 'header_check_berkeley_le': ../../src/file_berkeley.c:44:58: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_bim.c: In function 'header_check_bim': ../../src/file_bim.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_binvox.c: In function 'header_check_binvox': ../../src/file_binvox.c:44:53: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_bin.c: In function 'header_check_bin': ../../src/file_bin.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bkf.o CC file_bld.o ../../src/file_bkf.c: In function 'header_check_bkf': ../../src/file_bkf.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | 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:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | 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:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | 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:140:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 140 | 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:140:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 140 | 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:140:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 140 | 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:105:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 105 | 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:105:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 105 | 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:105:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 105 | 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:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | 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:60:50: warning: unused parameter 'buffer' [-Wunused-parameter] 60 | 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:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | 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:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | 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:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | 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:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | 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:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | 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:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | 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:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cdt.o ../../src/file_catdrawing.c: In function 'header_check_catdrawing': ../../src/file_catdrawing.c:44:57: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:84: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:157: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:87:50: warning: unused parameter 'buffer' [-Wunused-parameter] 87 | 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:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | 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:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | 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:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | 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_class.o ../../src/file_chm.c: In function 'header_check_chm': ../../src/file_chm.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:61:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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 ../../src/file_class.c:61:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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:45:49: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:44:55: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:77:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | 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:77:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | 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:77:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | 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:90:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 90 | 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:90:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 90 | 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:90:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 90 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cpi.o ../../src/file_cpi.c: In function 'header_check_cpi': ../../src/file_cpi.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | 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:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | 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:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | 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:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | 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:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | 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:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | 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:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | 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:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_dar.o CC file_dat.o ../../src/file_dar.c: In function 'header_check_dar': ../../src/file_dar.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_dat.c: In function 'header_check_dat': ../../src/file_dat.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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': CC file_dbf.o ../../src/file_dat.c:52:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:66:86: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | 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:66:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:159: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | 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:76:87: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | 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:76:119: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | 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:76:160: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:94:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 94 | 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:94:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 94 | 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:94:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 94 | 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:104:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | 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:104:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | 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:104:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | 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:114:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 114 | 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:114:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 114 | 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:114:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 114 | 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:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_dir.c: In function 'data_check_fatdir': ../../src/file_dir.c:71:60: warning: unused parameter 'buffer' [-Wunused-parameter] 71 | 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:78:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 78 | 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:78:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 78 | 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:78:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 78 | 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_djv.o ../../src/file_djv.c: In function 'header_check_djv': ../../src/file_djv.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dpx.o ../../src/file_doc.c: In function 'header_check_doc': ../../src/file_doc.c:1660:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 1660 | 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:1660:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 1660 | 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:81:66: warning: pointer targets in passing argument 1 of 'get_time_from_YYYY_MM_DD_HH_MM_SS' differ in signedness [-Wpointer-sign] 81 | 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:34: ../../src/filegen.h:296:63: note: expected 'const unsigned char *' but argument is of type 'const char *' 296 | time_t get_time_from_YYYY_MM_DD_HH_MM_SS(const unsigned char *date_asc); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../src/file_dpx.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | 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:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | 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:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:32: ../../src/file_ds2.c: In function 'header_check_ds2': ../../src/file_ds2.c:63:25: warning: array subscript has type 'char' [-Wchar-subscripts] 63 | if(!isdigit(date_asc[i])) | ~~~~~~~~^~~ ../../src/file_ds2.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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:55:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:43:50: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | 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:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | 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:32: ../../src/file_dss.c: In function 'header_check_dss': ../../src/file_dss.c:66:25: warning: array subscript has type 'char' [-Wchar-subscripts] 66 | if(!isdigit(date_asc[i])) | ~~~~~~~~^~~ ../../src/file_dss.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dst.o ../../src/file_dst.c: In function 'header_check_dst': ../../src/file_dst.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1723:11: note: called from here 1723 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1727:11: note: called from here 1727 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1731:11: note: called from here 1731 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1732:7: note: called from here 1732 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1733:7: note: called from here 1733 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1734:7: note: called from here 1734 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1738:11: note: called from here 1738 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1742:11: note: called from here 1742 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1746:11: note: called from here 1746 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1750:11: note: called from here 1750 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1754:11: note: called from here 1754 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1758:11: note: called from here 1758 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1762:11: note: called from here 1762 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1763:10: note: called from here 1763 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/file_doc.c:39: ../../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:1767:11: note: called from here 1767 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC file_dta.o ../../src/file_dta.c: In function 'header_check_dta': ../../src/file_dta.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:126:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 126 | 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:126:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 126 | 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:126:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 126 | 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:131:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 131 | 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:131:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 131 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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 CC file_dwg.o ../../src/file_dvr.c: In function 'header_check_dvr': ../../src/file_dvr.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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_dwg.c: In function 'header_check_dwg': ../../src/file_dwg.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dxf.o CC file_e01.o ../../src/file_dxf.c: In function 'header_check_dxf': ../../src/file_dxf.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | 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:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | 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:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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_ecryptfs.c: In function 'header_check_ecryptfs': ../../src/file_ecryptfs.c:71:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | 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:71:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | 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:71:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_elf.o CC file_emf.o ../../src/file_elf.c: In function 'header_check_elf': ../../src/file_elf.c:120:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 120 | 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:120:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 120 | 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:120:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 120 | 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_emf.c: In function 'header_check_emf': ../../src/file_emf.c:392:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 392 | 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:392:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 392 | 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_ess.o ../../src/file_ess.c: In function 'header_check_ess': ../../src/file_ess.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_evt.o CC file_evtx.o ../../src/file_evt.c: In function 'header_check_evt': ../../src/file_evt.c:84:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 84 | 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:84:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 84 | 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:84:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 84 | 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:61:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | 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:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | 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:376:16: warning: variable 'val_len' set but not used [-Wunused-but-set-variable] 376 | unsigned int val_len; | ^~~~~~~ CC file_exs.o ../../src/file_exs.c: In function 'header_check_exs': ../../src/file_exs.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:66:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | 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:66:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | 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:80:60: warning: unused parameter 'buffer' [-Wunused-parameter] 80 | 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:104:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | 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:104:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | 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:104:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | 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:55:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:49:50: warning: unused parameter 'buffer' [-Wunused-parameter] 49 | 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:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 49 | 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | 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:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | 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:95:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 95 | 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:95:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 95 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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 CC file_fh5.o ../../src/file_fh10.c: In function 'header_check_fh10': ../../src/file_fh10.c:46:51: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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_fh5.c: In function 'header_check_fh5': ../../src/file_fh5.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_filevault.o ../../src/file_filevault.c: In function 'header_check_filevault': ../../src/file_filevault.c:45:56: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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 'fits_info': ../../src/file_fits.c:104:56: warning: pointer targets in passing argument 1 of 'get_time_from_YYYY_MM_DD_HH_MM_SS' differ in signedness [-Wpointer-sign] 104 | file_recovery->time=get_time_from_YYYY_MM_DD_HH_MM_SS(date_asc); | ^~~~~~~~ | | | const char * In file included from ../../src/file_fits.c:34: ../../src/filegen.h:296:63: note: expected 'const unsigned char *' but argument is of type 'const char *' 296 | time_t get_time_from_YYYY_MM_DD_HH_MM_SS(const unsigned char *date_asc); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../src/file_fits.c: In function 'header_check_fits': ../../src/file_fits.c:143:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 143 | 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:143:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 143 | 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:81:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 81 | 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:81:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | 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:81:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | 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:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | 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:94:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 94 | 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:94:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 94 | 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:94:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 94 | 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 ../../src/file_fm.c: In function 'header_check_fm': ../../src/file_fm.c:51:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:43:50: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | 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:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | 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:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | 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:44:54: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:82:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | 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:82:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | 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:82:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 82 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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 ../../src/file_fwd.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_gct.o ../../src/file_gam.c: In function 'header_check_gam': ../../src/file_gam.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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: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_gho.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_gho.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_gi.c: In function 'header_check_gi': ../../src/file_gi.c:51:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | 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:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | 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:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:61:50: warning: unused parameter 'buffer' [-Wunused-parameter] 61 | 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:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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:69:50: warning: unused parameter 'buffer' [-Wunused-parameter] 69 | 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:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | 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:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | 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:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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_gpx.c: In function 'header_check_gpx': ../../src/file_gpx.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_gpg.c: In function 'header_check_gpg': ../../src/file_gpg.c:520:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 520 | 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:520:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 520 | 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_gsm.o ../../src/file_gsm.c: In function 'header_check_gsm': ../../src/file_gsm.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | 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:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | 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:82:46: warning: unused parameter 'file_recovery' [-Wunused-parameter] 82 | static void file_check_bgzf(file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_gz.c: In function 'header_check_bgzf': ../../src/file_gz.c:86:115: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_bgzf(const unsigned char *buffer, const unsigned char *buffer_uncompr, const unsigned int buffer_size, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/file_gz.c: In function 'header_check_gz': ../../src/file_gz.c:180:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 180 | d_stream.next_in = (Bytef*)buffer_compr; | ^ ../../src/file_gz.c:116:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | 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:116:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 116 | 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:116:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | 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:116:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 116 | 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:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | 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:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:46:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:44:49: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:49:50: warning: unused parameter 'buffer' [-Wunused-parameter] 49 | 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:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 49 | 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | 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:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | 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:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:52:10: warning: left shift of negative value [-Wshift-negative-value] 52 | ((~(~0 << (DICT_TF_BITS - DICT_TF_FORMAT_SHIFT))) << DICT_TF_FORMAT_SHIFT) | ^~ ../../src/file_ibd.c:81:42: note: in expansion of macro 'DICT_TF_FORMAT_MASK' 81 | const unsigned int format = (flags & DICT_TF_FORMAT_MASK) >> DICT_TF_FORMAT_SHIFT; | ^~~~~~~~~~~~~~~~~~~ ../../src/file_ibd.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | 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:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | 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:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | 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:99:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 99 | 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:99:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 99 | 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:99:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 99 | 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:79:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 79 | 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:79:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 79 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_indd.c: In function 'header_check_indd': ../../src/file_indd.c:114:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 114 | 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:114:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 114 | static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_info.o ../../src/file_info.c: In function 'header_check_info': ../../src/file_info.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:46:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:71:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | 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:71:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | 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:71:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | 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:45:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:45:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:522:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 522 | 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:694:45: warning: unused parameter 'cinfo' [-Wunused-parameter] 694 | static void my_output_message (j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ ../../src/file_jpg.c: In function 'jpg_term_source': ../../src/file_jpg.c:885:47: warning: unused parameter 'cinfo' [-Wunused-parameter] 885 | static void jpg_term_source (j_decompress_ptr cinfo) | ~~~~~~~~~~~~~~~~~^~~~~ ../../src/file_jpg.c: In function 'jpg_find_error': ../../src/file_jpg.c:1205:118: warning: unused parameter 'checkpoint_offset' [-Wunused-parameter] 1205 | 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_kdb.c: In function 'header_check_kdb': ../../src/file_kdb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:222:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 222 | 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:222:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 222 | 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:44:52: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | 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:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | 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:51:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:107:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 107 | 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:107:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 107 | 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:107:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 107 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_mat.o ../../src/file_m2ts.c: In function 'header_check_m2ts': ../../src/file_m2ts.c:112:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 112 | 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:169:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 169 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mat.c: In function 'header_check_mat': ../../src/file_mat.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:52:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:66:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | 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:66:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | 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:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | 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:54:52: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | 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:54:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:61:50: warning: unused parameter 'buffer' [-Wunused-parameter] 61 | 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:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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_mfa.o CC file_mfg.o ../../src/file_mfa.c: In function 'header_check_mfa': ../../src/file_mfa.c:49:50: warning: unused parameter 'buffer' [-Wunused-parameter] 49 | 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:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 49 | 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | 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:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mfg.c: In function 'header_check_mfg': ../../src/file_mfg.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mft.o CC file_mid.o ../../src/file_mft.c: In function 'header_check_mft': ../../src/file_mft.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | 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:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | 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:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mid.c: In function 'header_check_mid': ../../src/file_mid.c:104:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | 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:104:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | 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:104:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mig.o CC file_mk5.o ../../src/file_mig.c: In function 'header_check_mig': ../../src/file_mig.c:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | 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:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | 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:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | 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_mk5.c: In function 'header_check_mk5': ../../src/file_mk5.c:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mkv.o CC file_mlv.o ../../src/file_mkv.c: In function 'header_check_mkv': ../../src/file_mkv.c:119:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 119 | 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:119:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 119 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mlv.c: In function 'header_check_mlv': ../../src/file_mlv.c:132:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 132 | 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:132:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 132 | 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:132:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 132 | 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:59:51: warning: unused parameter 'buffer' [-Wunused-parameter] 59 | 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:59:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | 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:59:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | 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:59:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mov.c: In function 'header_check_mov_aux': ../../src/file_mov.c:228:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 228 | static int header_check_mov_aux(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_mp3.o ../../src/file_mp3.c: In function 'header_check_id3': ../../src/file_mp3.c:461:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 461 | 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:461:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 461 | 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:461:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 461 | 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:516:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 516 | 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:164:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 164 | 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:227:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 227 | 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:268:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 268 | 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:302:120: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 302 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | 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:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | 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:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_msa.o CC file_mus.o ../../src/file_msa.c: In function 'header_check_msa': ../../src/file_msa.c:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_mus.c: In function 'header_check_mus': ../../src/file_mus.c:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | 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:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mxf.o CC file_myo.o ../../src/file_myo.c: In function 'header_check_myo': ../../src/file_myo.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_mxf.c: In function 'header_check_mxf': ../../src/file_mxf.c:106:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 106 | 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:106:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | 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:106:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mysql.o CC file_nd2.o ../../src/file_mysql.c: In function 'header_check_mysql': ../../src/file_mysql.c:55:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_nds.o ../../src/file_nd2.c: In function 'header_check_nd2': ../../src/file_nd2.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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_nes.o ../../src/file_nds.c: In function 'header_check_nds': ../../src/file_nds.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | 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:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | 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:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:180:50: warning: unused parameter 'buffer' [-Wunused-parameter] 180 | 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:180:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 180 | 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:180:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 180 | 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:180:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 180 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | 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:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | 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:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 49 | 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:45:55: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:52:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:108:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 108 | 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:108:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 108 | 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:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pcb.o CC file_pct.o ../../src/file_pcb.c: In function 'header_check_pcb': ../../src/file_pcb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | 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:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | 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:85:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 85 | 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:85:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 85 | 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:85:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 85 | 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:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | 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:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | 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:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | 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:272:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 272 | 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:272:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 272 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:108:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 108 | 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:108:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 108 | 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:108:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 108 | 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:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | 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:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | 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:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | 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:96:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 96 | 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:96:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 96 | 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:96:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 96 | 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:47:52: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_pnm.o ../../src/file_png.c: In function 'header_check_jng': ../../src/file_png.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | 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:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | 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:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | 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:93:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 93 | 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:93:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 93 | 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:93:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 93 | 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:172:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 172 | 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:172:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 172 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/file_pnm.c: In function 'header_check_pbm': ../../src/file_pnm.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | 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:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | 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:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | 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:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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 CC file_prt.o ../../src/file_prd.c: In function 'header_check_prd': ../../src/file_prd.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_ps.o ../../src/file_prt.c: In function 'header_check_prt': ../../src/file_prt.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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_psb.o ../../src/file_ps.c: In function 'header_check_ps': ../../src/file_ps.c:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | 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:98:62: warning: unused parameter 'buffer' [-Wunused-parameter] 98 | 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:98:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | 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:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | 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:98:62: warning: unused parameter 'buffer' [-Wunused-parameter] 98 | 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:98:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | 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:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | 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:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | 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:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | 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:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | 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:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | 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:92:50: warning: unused parameter 'buffer' [-Wunused-parameter] 92 | 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:92:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 92 | 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:92:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 92 | 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:92:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 92 | 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:99:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 99 | 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:99:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 99 | 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:99:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 99 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_pzf.c: In function 'header_check_pzf': ../../src/file_pzf.c:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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_pyc.c: In function 'header_check_pyc': ../../src/file_pyc.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pzh.o CC file_qbb.o ../../src/file_pzh.c: In function 'header_check_pzh': ../../src/file_pzh.c:69:50: warning: unused parameter 'buffer' [-Wunused-parameter] 69 | 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:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | 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:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | 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:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | 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:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | 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:136:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 136 | 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:136:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 136 | 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:136:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 136 | 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:151:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 151 | 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:151:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 151 | 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:151:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 151 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | 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:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | 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:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | 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:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | 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:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | 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:116:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 116 | 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:116:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | 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:116:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 116 | 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:83:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | 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:83:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 83 | 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:83:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 83 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_raf.o CC file_rar.o ../../src/file_raf.c: In function 'header_check_raf': ../../src/file_raf.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_rar.c: In function 'header_check_rar15fmt': ../../src/file_rar.c:53:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:69:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | 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:69:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | 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:69:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_raw.o CC file_rdc.o ../../src/file_raw.c: In function 'header_check_raw': ../../src/file_raw.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:72:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | 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:72:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | 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:106:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 106 | 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:106:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | 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:106:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:216:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 216 | 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:216:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 216 | 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:317:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 317 | 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:317:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 317 | 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:317:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 317 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | 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:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | 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:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | 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:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | 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:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | 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:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:44:52: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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 ../../src/file_shn.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_sig.o ../../src/file_sib.c: In function 'header_check_sib': ../../src/file_sib.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sit.o ../../src/file_sig.c: In function 'header_check_sig': ../../src/file_sig.c:115:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 115 | 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:115:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 115 | 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:115:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 115 | 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:38: ../../src/file_sig.c: In function 'parse_signature_file': ../../src/file_sig.c:240:31: warning: array subscript has type 'char' [-Wchar-subscripts] 240 | while(*pos!='\0' && !isspace(*pos)) | ^~~~ ../../src/file_sig.c:249:21: warning: array subscript has type 'char' [-Wchar-subscripts] 249 | while(isspace(*pos)) | ^~~~ ../../src/file_sig.c:269:13: warning: array subscript has type 'char' [-Wchar-subscripts] 269 | if(isspace(*pos) || *pos=='\r' || *pos==',') | ^~~~ ../../src/file_sig.c:369:19: warning: array subscript has type 'char' [-Wchar-subscripts] 369 | while(isxdigit(*pos) && isxdigit(*(pos+1))) | ^~~~ ../../src/file_sig.c:369:37: warning: array subscript has type 'char' [-Wchar-subscripts] 369 | while(isxdigit(*pos) && isxdigit(*(pos+1))) | ^~~~~~~~ ../../src/file_sit.c: In function 'header_check_sit': ../../src/file_sit.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | 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:43:50: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | 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:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | 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:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | 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:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:50:51: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | 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:50:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | 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:50:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | 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:50:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sp3.o CC file_spe.o ../../src/file_sp3.c: In function 'header_check_sp3': ../../src/file_sp3.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../src/file_spe.c: In function 'header_check_spe': ../../src/file_spe.c:284:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 284 | 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:284:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 284 | 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:86:50: warning: unused parameter 'buffer' [-Wunused-parameter] 86 | 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:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | 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:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | 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:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | 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 ../../src/file_spss.c: In function 'header_check_spss': ../../src/file_spss.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_sql.o CC file_sqm.o ../../src/file_sql.c: In function 'header_check_sqlite': ../../src/file_sql.c:74:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | 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:74:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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_stl.c: In function 'header_check_stl': ../../src/file_stl.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | 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_steuer2014.c: In function 'header_check_steuer': ../../src/file_steuer2014.c:61:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | 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:61:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | 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:61:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | 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_stu.o CC file_studio.o ../../src/file_stu.c: In function 'header_check_stuffit': ../../src/file_stu.c:45:54: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:52:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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 ../../src/file_swf.c: In function 'header_check_swfc': ../../src/file_swf.c:159:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 159 | d_stream.next_in = (Bytef*)buffer_compr; | ^ ../../src/file_swf.c:134:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 134 | 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:134:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 134 | 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:224:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 224 | 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:224:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 224 | 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:224:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 224 | 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:275:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 275 | 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:275:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 275 | 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:275:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 275 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from ../../src/file_tar.c:30: ../../src/file_tar.c: In function 'header_check_tar': ../../src/file_tar.c:70:24: warning: array subscript has type 'char' [-Wchar-subscripts] 70 | if(!isspace(h->chksum[0]) && !((unsigned) (h->chksum[0]) - '0' <= 7)) | ~~~~~~~~~^~~ ../../src/file_tar.c:67:70: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | 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:67:102: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_tax.o ../../src/file_tax.c: In function 'header_check_tax': ../../src/file_tax.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | 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:44:49: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:103:50: warning: unused parameter 'buffer' [-Wunused-parameter] 103 | 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:103:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 103 | 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:103:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 103 | 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:103:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 103 | 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:110:51: warning: unused parameter 'buffer' [-Wunused-parameter] 110 | 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:110:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 110 | 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:110:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 110 | 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:110:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 110 | 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:761:106: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 761 | 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:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | 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:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | 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:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | 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:44:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | 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:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | 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:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | 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:524:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 524 | p+2-buffer= 8 Processing files: cygwin64-testdisk-7.2-0.el8.noarch Finding Provides: /usr/lib/rpm/cygwin-find-provides.sh cygwin32 cygwin64 warning: Deprecated external dependency generator is used! 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 Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: cygwin64-testdisk = 7.2-0.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-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.el8.noarch Finding Provides: /usr/lib/rpm/cygwin-find-provides.sh cygwin32 cygwin64 warning: Deprecated external dependency generator is used! 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 Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: cygwin32-testdisk-debuginfo = 7.2-0.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cygwin64-testdisk-debuginfo-7.2-0.el8.noarch Finding Provides: /usr/lib/rpm/cygwin-find-provides.sh cygwin32 cygwin64 warning: Deprecated external dependency generator is used! 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 Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: cygwin64-testdisk-debuginfo = 7.2-0.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el8.x86_64 Wrote: /builddir/build/RPMS/cygwin32-testdisk-7.2-0.el8.noarch.rpm Wrote: /builddir/build/RPMS/cygwin64-testdisk-7.2-0.el8.noarch.rpm Wrote: /builddir/build/RPMS/cygwin32-testdisk-debuginfo-7.2-0.el8.noarch.rpm Wrote: /builddir/build/RPMS/cygwin64-testdisk-debuginfo-7.2-0.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AlbRgP + umask 022 + cd /builddir/build/BUILD + cd cygwin-testdisk-7.2 + rm -rf /builddir/build/BUILDROOT/cygwin-testdisk-7.2-0.el8.x86_64 + exit 0 Child return code was: 0