logo

oasis

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

0007-Remove-use-of-uninitialized-variable.patch (611B)


  1. From ede4d741adeb68ca6e244dfa07af164f1a204432 Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Tue, 21 Dec 2021 15:03:44 -0800
  4. Subject: [PATCH] Remove use of uninitialized variable
  5. ---
  6. util/ub_event.c | 1 -
  7. 1 file changed, 1 deletion(-)
  8. diff --git a/util/ub_event.c b/util/ub_event.c
  9. index 8cd87ec4..54db6866 100644
  10. --- a/util/ub_event.c
  11. +++ b/util/ub_event.c
  12. @@ -211,7 +211,6 @@ ub_default_event_base(int sigs, time_t* time_secs, struct timeval* time_tv)
  13. {
  14. void* base;
  15. - (void)base;
  16. #ifdef USE_MINI_EVENT
  17. (void)sigs;
  18. /* use mini event time-sharing feature */
  19. --
  20. 2.34.1