logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0001-Don-t-return-expression-in-void-function.patch (670B)


  1. From 79aac49a3d3953b6e62b477bd488c3b7237a5aee 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. src/defs.h | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/src/defs.h b/src/defs.h
  9. index 89ec13fc5..465d58139 100644
  10. --- a/src/defs.h
  11. +++ b/src/defs.h
  12. @@ -824,7 +824,7 @@ extern bool pathtrace_match_set(struct tcb *, struct path_set *,
  13. static inline void
  14. pathtrace_select(const char *path)
  15. {
  16. - return pathtrace_select_set(path, &global_path_set);
  17. + pathtrace_select_set(path, &global_path_set);
  18. }
  19. static inline bool
  20. --
  21. 2.44.0