Module: xenomai-3 Branch: next Commit: f33331749e3d72b9a27e92cf066c356c0922a03c URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f33331749e3d72b9a27e92cf066c356c0922a03c
Author: Philippe Gerum <r...@xenomai.org> Date: Wed Aug 12 10:22:58 2015 +0200 vxworks/memPartLib: fix invalid status from addToPool --- lib/vxworks/memPartLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vxworks/memPartLib.c b/lib/vxworks/memPartLib.c index 7bb5c6a..932fc90 100644 --- a/lib/vxworks/memPartLib.c +++ b/lib/vxworks/memPartLib.c @@ -83,7 +83,7 @@ STATUS memPartAddToPool(PART_ID partId, { struct wind_mempart *mp; struct service svc; - STATUS ret; + STATUS ret = OK; if (poolSize == 0) { errno = S_memLib_INVALID_NBYTES; _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://xenomai.org/mailman/listinfo/xenomai-git