Module: xenomai-gch
Branch: for-2.4
Commit: 50cbf3dd534826d5404c73d03c3b50bb292bd0c0
URL:    
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=50cbf3dd534826d5404c73d03c3b50bb292bd0c0

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Aug 30 17:40:34 2009 +0200

native: fix (harmless) uninitialized reference

---

 ksrc/skins/native/syscall.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ksrc/skins/native/syscall.c b/ksrc/skins/native/syscall.c
index 0860447..e5101da 100644
--- a/ksrc/skins/native/syscall.c
+++ b/ksrc/skins/native/syscall.c
@@ -2180,6 +2180,7 @@ static int __rt_queue_alloc(struct task_struct *curr, 
struct pt_regs *regs)
 
        if (!q) {
                err = -ESRCH;
+               buf = NULL;
                goto unlock_and_exit;
        }
 


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

Reply via email to