Module: xenomai-3
Branch: next
Commit: 7ae62c93ef6f6947877bc55771904af7b48b04f1
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7ae62c93ef6f6947877bc55771904af7b48b04f1

Author: Jorge Ramirez-Ortiz <j...@xenomai.org>
Date:   Tue Aug 26 13:51:08 2014 -0400

drivers/analogy: fix warning

---

 kernel/drivers/analogy/instruction.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/drivers/analogy/instruction.c 
b/kernel/drivers/analogy/instruction.c
index 7e7704f..1cbdb14 100644
--- a/kernel/drivers/analogy/instruction.c
+++ b/kernel/drivers/analogy/instruction.c
@@ -205,7 +205,7 @@ int a4l_do_special_insn(struct a4l_device_context * cxt, 
struct a4l_kernel_instr
 
 int a4l_do_insn(struct a4l_device_context * cxt, struct a4l_kernel_instruction 
* dsc)
 {
-       int ret;
+       int ret = 0;
        struct a4l_subdevice *subd;
        struct a4l_device *dev = a4l_get_dev(cxt);
        int (*hdlr) (struct a4l_subdevice *, struct a4l_kernel_instruction *) = 
NULL;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to