On Thu, Apr 27, 2017 at 3:40 PM, Gedare Bloom wrote:
> On Wed, Apr 26, 2017 at 10:59 PM, Joel Sherrill wrote:
> >
> >
> > On Wed, Apr 26, 2017 at 9:02 PM, Gedare Bloom wrote:
> >>
> >> I might rather see the switch refactored to an if-then block, since it
> >> has quite a bit of structure to it
On Wed, Apr 26, 2017 at 10:59 PM, Joel Sherrill wrote:
>
>
> On Wed, Apr 26, 2017 at 9:02 PM, Gedare Bloom wrote:
>>
>> I might rather see the switch refactored to an if-then block, since it
>> has quite a bit of structure to it now.
>>
>
> How about it includes all cases?
>
It is better written
On Wed, Apr 26, 2017 at 9:02 PM, Gedare Bloom wrote:
> I might rather see the switch refactored to an if-then block, since it
> has quite a bit of structure to it now.
>
>
How about it includes all cases?
--joel
> On Wed, Apr 26, 2017 at 4:42 PM, Joel Sherrill wrote:
> > ---
> > cpukit/posix
I might rather see the switch refactored to an if-then block, since it
has quite a bit of structure to it now.
On Wed, Apr 26, 2017 at 4:42 PM, Joel Sherrill wrote:
> ---
> cpukit/posix/src/mutexinit.c | 41 +++--
> 1 file changed, 19 insertions(+), 22 deletio
---
cpukit/posix/src/mutexinit.c | 41 +++--
1 file changed, 19 insertions(+), 22 deletions(-)
diff --git a/cpukit/posix/src/mutexinit.c b/cpukit/posix/src/mutexinit.c
index 47e0bcb..cdbba11 100644
--- a/cpukit/posix/src/mutexinit.c
+++ b/cpukit/posix/src/mutex