From 9bad1507050046de553c842e2ca0112437b705c1 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 12 Jan 2011 13:10:28 +0100 Subject: s3-net: add missing breaks in switch statement in get_share_info(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Wed Jan 12 14:31:05 CET 2011 on sn-devel-104 --- source3/utils/net_rpc.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/utils') diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 416c6bba5a..30d73df708 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -3090,6 +3090,8 @@ static WERROR get_share_info(struct net_context *c, ctr1->array = info.info1; info_ctr->ctr.ctr1 = ctr1; + + break; } case 2: { @@ -3102,6 +3104,8 @@ static WERROR get_share_info(struct net_context *c, ctr2->array = info.info2; info_ctr->ctr.ctr2 = ctr2; + + break; } case 502: { @@ -3114,6 +3118,8 @@ static WERROR get_share_info(struct net_context *c, ctr502->array = info.info502; info_ctr->ctr.ctr502 = ctr502; + + break; } } /* switch */ done: -- cgit