X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Furi.cpp;h=393eba81594aefd3087b1577b6660d4cdb0b2511;hb=1c9a0b0e83c7e073c4e576c0bed95de335b0e502;hp=98ff2b471b0d87b3c9f3ae4dea8c449e83ae291e;hpb=c10f9cdd994258358bb3766c2e92dab71e4ceef2;p=lttng-tools.git diff --git a/src/common/uri.cpp b/src/common/uri.cpp index 98ff2b471..393eba815 100644 --- a/src/common/uri.cpp +++ b/src/common/uri.cpp @@ -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 } + {} }; /*