[rtems commit] score: Fix statement with no effect
Sebastian Huber
sebh at rtems.org
Fri Jun 20 07:51:25 UTC 2014
Module: rtems
Branch: master
Commit: 2803c8cec0a44317cb67bd04089b34052ce4c8e9
Changeset: http://git.rtems.org/rtems/commit/?id=2803c8cec0a44317cb67bd04089b34052ce4c8e9
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Jun 20 09:59:05 2014 +0200
score: Fix statement with no effect
---
cpukit/score/src/cpuset.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cpukit/score/src/cpuset.c b/cpukit/score/src/cpuset.c
index 8d38963..ca355c9 100644
--- a/cpukit/score/src/cpuset.c
+++ b/cpukit/score/src/cpuset.c
@@ -62,7 +62,7 @@ bool _CPU_set_Is_valid( const cpu_set_t *cpuset, size_t setsize )
cpu_set_t temp;
if ( !cpuset )
- false;
+ return false;
if ( setsize != cpuset_default.setsize )
return false;
More information about the vc
mailing list