Prepare for '-Wmissing-field-initializers'
[lttng-tools.git] / src / common / uri.cpp
index b1c2c63d09bcc28475445cfd5f998076bfc0d245..393eba81594aefd3087b1577b6660d4cdb0b2511 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2012 David Goulet <dgoulet@efficios.com>
  *
- * SPDX-License-Identifier: GPL-2.0-only
+ * SPDX-License-Identifier: LGPL-2.1-only
  *
  */
 
@@ -43,7 +43,7 @@ static const struct uri_proto proto_uri[] = {
        { .name = "tcp4", .leading_string = "tcp4://", .code = P_TCP, .type = LTTNG_TCP, .dtype = LTTNG_DST_IPV4 },
        { .name = "tcp6", .leading_string = "tcp6://", .code = P_TCP6, .type = LTTNG_TCP, .dtype = LTTNG_DST_IPV6 },
        /* Invalid proto marking the end of the array. */
-       { 0 }
+       {}
 };
 
 /*
This page took 0.02482 seconds and 4 git commands to generate.