Commit 0ef0f7bb authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

netapi32: Added missing breaks (Coverity).

parent 68b60c0d
...@@ -541,6 +541,7 @@ static NET_API_STATUS ace_to_samba( const ACE_HEADER *src, struct ace *dst ) ...@@ -541,6 +541,7 @@ static NET_API_STATUS ace_to_samba( const ACE_HEADER *src, struct ace *dst )
dst->access_mask = access_mask_to_samba( ace->Mask ); dst->access_mask = access_mask_to_samba( ace->Mask );
memset( &dst->object, 0, sizeof(dst->object) ); memset( &dst->object, 0, sizeof(dst->object) );
sid_to_samba( (const SID *)&ace->SidStart, &dst->trustee ); sid_to_samba( (const SID *)&ace->SidStart, &dst->trustee );
break;
} }
case ACCESS_DENIED_ACE_TYPE: case ACCESS_DENIED_ACE_TYPE:
{ {
...@@ -548,6 +549,7 @@ static NET_API_STATUS ace_to_samba( const ACE_HEADER *src, struct ace *dst ) ...@@ -548,6 +549,7 @@ static NET_API_STATUS ace_to_samba( const ACE_HEADER *src, struct ace *dst )
dst->access_mask = access_mask_to_samba( ace->Mask ); dst->access_mask = access_mask_to_samba( ace->Mask );
memset( &dst->object, 0, sizeof(dst->object) ); memset( &dst->object, 0, sizeof(dst->object) );
sid_to_samba( (const SID *)&ace->SidStart, &dst->trustee ); sid_to_samba( (const SID *)&ace->SidStart, &dst->trustee );
break;
} }
case SYSTEM_AUDIT_ACE_TYPE: case SYSTEM_AUDIT_ACE_TYPE:
{ {
...@@ -555,6 +557,7 @@ static NET_API_STATUS ace_to_samba( const ACE_HEADER *src, struct ace *dst ) ...@@ -555,6 +557,7 @@ static NET_API_STATUS ace_to_samba( const ACE_HEADER *src, struct ace *dst )
dst->access_mask = access_mask_to_samba( ace->Mask ); dst->access_mask = access_mask_to_samba( ace->Mask );
memset( &dst->object, 0, sizeof(dst->object) ); memset( &dst->object, 0, sizeof(dst->object) );
sid_to_samba( (const SID *)&ace->SidStart, &dst->trustee ); sid_to_samba( (const SID *)&ace->SidStart, &dst->trustee );
break;
} }
case SYSTEM_ALARM_ACE_TYPE: case SYSTEM_ALARM_ACE_TYPE:
{ {
...@@ -562,6 +565,7 @@ static NET_API_STATUS ace_to_samba( const ACE_HEADER *src, struct ace *dst ) ...@@ -562,6 +565,7 @@ static NET_API_STATUS ace_to_samba( const ACE_HEADER *src, struct ace *dst )
dst->access_mask = access_mask_to_samba( ace->Mask ); dst->access_mask = access_mask_to_samba( ace->Mask );
memset( &dst->object, 0, sizeof(dst->object) ); memset( &dst->object, 0, sizeof(dst->object) );
sid_to_samba( (const SID *)&ace->SidStart, &dst->trustee ); sid_to_samba( (const SID *)&ace->SidStart, &dst->trustee );
break;
} }
default: default:
ERR( "unhandled type %u\n", src->AceType ); ERR( "unhandled type %u\n", src->AceType );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment