]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
debug: remove a cast, which makes the Solaris Studio compiler unhappy
authorBjörn Jacke <bj@sernet.de>
Sun, 18 Oct 2020 18:21:56 +0000 (20:21 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 10 Nov 2020 06:53:42 +0000 (06:53 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14526

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/util/debug.c

index 08ffee35a1f9917b80812cf2d33aae16f5b93cb3..402345222e54bcc10cd841e2b724c3864a4ac956 100644 (file)
@@ -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;