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

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 87e5108..3bd28e3 100644
--- a/ksrc/skins/native/syscall.c
+++ b/ksrc/skins/native/syscall.c
@@ -2118,6 +2118,7 @@ static int __rt_queue_alloc(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