Browse Source

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.
Eugene Syromyatnikov 11 months ago
parent
commit
8f77473b31
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sync_file_range2.c

+ 1
- 1
sync_file_range2.c View File

@@ -20,7 +20,7 @@ SYS_FUNC(sync_file_range2)
20 20
 	printflags(sync_file_range_flags, tcp->u_arg[1],
21 21
 		   "SYNC_FILE_RANGE_???");
22 22
 	argn = printllval(tcp, ", %lld, ", 2);
23
-	argn = printllval(tcp, "%lld", argn);
23
+	printllval(tcp, "%lld", argn);
24 24
 
25 25
 	return RVAL_DECODED;
26 26
 }

Loading…
Cancel
Save