Jan Kiszka wrote:
 > Hi Gilles,
 > 
 > I'm seeing this with gcc-4.1:
 > 
 > src/testsuite/switchtest/switch.c: In function 'main':
 > src/testsuite/switchtest/switch.c:620: warning: 'params.swt.flags' is
 > used uninitialized in this function
 > src/testsuite/switchtest/switch.c:620: warning: 'params.swt.index' is
 > used uninitialized in this function
 > src/testsuite/switchtest/switch.c:620: warning: 'params.thread' is used
 > uninitialized in this function
 > 
 > Real issues or just finickiness?

No, the compiler is right, but it has no consequence, the values of the
swt structure are overriden by an ioctl later on. Anyway, I can set all
this to zero to please the compiler.

-- 


                                            Gilles Chanteperdrix.

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

Reply via email to