[PATCH] ntdb: always return int from tdb_store_flag_to_ntdb()

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Feb 25 05:58:13 MST 2015


On Wed, Feb 25, 2015 at 01:40:07PM +0100, David Disseldorp wrote:
> Signed-off-by: David Disseldorp <ddiss at samba.org>
> ---
>  lib/dbwrap/dbwrap_ntdb.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/dbwrap/dbwrap_ntdb.c b/lib/dbwrap/dbwrap_ntdb.c
> index 5a8ce4b..1f34ef8 100644
> --- a/lib/dbwrap/dbwrap_ntdb.c
> +++ b/lib/dbwrap/dbwrap_ntdb.c
> @@ -49,6 +49,7 @@ static int tdb_store_flag_to_ntdb(int tdb_flag)
>  	default:
>  		smb_panic("unknown tdb_flag");
>  	}
> +	return -1;	/* NOTREACHED */
>  }

r-b me.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list