0001-Don-t-return-expression-in-void-function.patch (670B)
1 From 31ffe0d9dfed05dd5524a91a6f0125c87f3d626c Mon Sep 17 00:00:00 2001 2 From: Michael Forney <mforney@mforney.org> 3 Date: Fri, 5 Jul 2019 20:52:24 -0700 4 Subject: [PATCH] Don't return expression in void function 5 6 --- 7 src/defs.h | 2 +- 8 1 file changed, 1 insertion(+), 1 deletion(-) 9 10 diff --git a/src/defs.h b/src/defs.h 11 index a22f1c99a..47e1c71f6 100644 12 --- a/src/defs.h 13 +++ b/src/defs.h 14 @@ -838,7 +838,7 @@ extern bool pathtrace_match_set(struct tcb *, struct path_set *, 15 static inline void 16 pathtrace_select(const char *path) 17 { 18 - return pathtrace_select_set(path, &global_path_set); 19 + pathtrace_select_set(path, &global_path_set); 20 } 21 22 static inline bool 23 -- 24 2.49.0 25