]> granicus.if.org Git - strace/commit
sync_file_range2: remove unneeded argn assignment
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sat, 20 Oct 2018 04:42:20 +0000 (06:42 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 8 Jul 2019 15:23:36 +0000 (15:23 +0000)
commit8f77473b31f8da9b66cffc220265e84ebae0deee
tree7c2e70285e1b2df7e332bcca9d2831373355260e
parent522ad3a0e73148dadd2480cd9cec84d9112b2e57
sync_file_range2: remove unneeded argn assignment

clang complains about it:

         argn = printllval(tcp, "%lld", argn);
         ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    sync_file_range2.c:43:2: note: Value stored to 'argn' is never read

* sync_file_range2.c (SYS_FUNC(sync_file_range2)): Do not assign
printllval result to argn for the second time.
sync_file_range2.c