Module: xenomai-head
Branch: master
Commit: e796a2f3b5c52698dff6048bbb2d2085ddad140a
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=e796a2f3b5c52698dff6048bbb2d2085ddad140a

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Jun 15 23:49:51 2010 +0200

nucleus: fix uninit variable

---

 ksrc/nucleus/select.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/nucleus/select.c b/ksrc/nucleus/select.c
index 29be0bc..656671d 100644
--- a/ksrc/nucleus/select.c
+++ b/ksrc/nucleus/select.c
@@ -179,7 +179,7 @@ EXPORT_SYMBOL_GPL(__xnselect_signal);
 void xnselect_destroy(struct xnselect *select_block)
 {
        xnholder_t *holder;
-       int resched;
+       int resched = 0;
        spl_t s;
 
        xnlock_get_irqsave(&nklock, s);


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to