summaryrefslogtreecommitdiff
path: root/pkg/strace/patch/0001-Don-t-return-expression-in-void-function.patch
blob: 41d004214d702b6ea0bb8e6c9587ffa84c817c9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From ea3a66eaff044dcdbf29062d771f931e0777430e Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Fri, 5 Jul 2019 20:52:24 -0700
Subject: [PATCH] Don't return expression in void function

---
 src/defs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/defs.h b/src/defs.h
index b95f6bdd3..fd11d60c3 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -784,7 +784,7 @@ extern bool pathtrace_match_set(struct tcb *, struct path_set *);
 static inline void
 pathtrace_select(const char *path)
 {
-	return pathtrace_select_set(path, &global_path_set);
+	pathtrace_select_set(path, &global_path_set);
 }
 
 static inline bool
-- 
2.34.1