From: Joseph Sutton Date: Thu, 28 Sep 2023 03:49:07 +0000 (+1300) Subject: s3:rpc_server: Fix building with FORTIFY_SOURCE=2 X-Git-Tag: tevent-0.16.0~300 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b33a486e657ee3d07f274748098d1250cfc6f048;p=thirdparty%2Fsamba.git s3:rpc_server: Fix building with FORTIFY_SOURCE=2 Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source3/rpc_server/mdssvc/es_mapping.c b/source3/rpc_server/mdssvc/es_mapping.c index 577fc38e912..57d227adcf6 100644 --- a/source3/rpc_server/mdssvc/es_mapping.c +++ b/source3/rpc_server/mdssvc/es_mapping.c @@ -151,7 +151,7 @@ struct es_attr_map *es_map_sl_attr(TALLOC_CTX *mem_ctx, { struct es_attr_map *es_map = NULL; const char *typestr = NULL; - enum ssm_type type; + enum ssm_type type = ssmt_bool; char *es_attr = NULL; size_t i; int cmp;