From: Björn Jacke Date: Sun, 18 Oct 2020 18:21:56 +0000 (+0200) Subject: debug: remove a cast, which makes the Solaris Studio compiler unhappy X-Git-Tag: talloc-2.3.2~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbfd93f7b6322b41cb69a0bab4903d074f3c60b7;p=thirdparty%2Fsamba.git debug: remove a cast, which makes the Solaris Studio compiler unhappy BUG: https://bugzilla.samba.org/show_bug.cgi?id=14526 Signed-off-by: Bjoern Jacke Reviewed-by: Andrew Bartlett --- diff --git a/lib/util/debug.c b/lib/util/debug.c index 08ffee35a1f..402345222e5 100644 --- a/lib/util/debug.c +++ b/lib/util/debug.c @@ -161,7 +161,7 @@ static const char *default_classname_table[] = { * system has been initialized. */ static struct debug_class debug_class_list_initial[ARRAY_SIZE(default_classname_table)] = { - [DBGC_ALL] = (struct debug_class) { .fd = 2 }, + [DBGC_ALL] = { .fd = 2 }, }; static size_t debug_num_classes = 0;