Initializing status code (sc) before using

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Aug 23 08:03:45 UTC 2013


Hello Cynthia,

I would use the attached fix.  I am bit confused about your comment.  The 
problem seems to be in the worker creation and not the swap function?

On 2013-08-23 05:55, Rempel, Cynthia wrote:
> Hi,
>
> If sc happens to not be set to RTEMS_SUCCESSFUL, this function will not swap the workers... probably won't happen, but submitting a patch anyway.
>
> Thanks,
> Cindy
>
>
>
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel
>


-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libblock-Avoid-uninitialized-variable.patch
Type: text/x-patch
Size: 900 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130823/cd8ca424/attachment-0001.bin>


More information about the devel mailing list