]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-sasl: test-sasl-client.c - Initialize authid of sasl_empty_set
authorMartti Rannanjärvi <martti.rannanjarvi@open-xchange.com>
Sun, 15 Aug 2021 09:45:12 +0000 (12:45 +0300)
committerMartti Rannanjärvi <martti.rannanjarvi@open-xchange.com>
Sun, 15 Aug 2021 09:45:12 +0000 (12:45 +0300)
This fixes the compiler warning:

  test-sasl-client.c:8:1: error: missing initializer for field 'authid'
  of 'const struct dsasl_client_settings'

src/lib-sasl/test-sasl-client.c

index 20525703e04d20971d2720c1f735038829b843d2..05b65f22547f49f1e340c9f9b83c1415879ab5b4 100644 (file)
@@ -5,6 +5,7 @@
 #include "dsasl-client.h"
 
 static const struct dsasl_client_settings sasl_empty_set = {
+       .authid = NULL,
 };
 
 static const struct dsasl_client_settings sasl_no_password_set = {