0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-24 05:13:08 +00:00

Fix compilation warning ()

Fix warning re: trace_id
This commit is contained in:
Stelios Fragkakis 2023-08-18 17:39:15 +03:00 committed by GitHub
parent 66c02874f1
commit 048394ca5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -449,7 +449,7 @@ int stop_streaming_contexts(const char *msg, size_t msg_len)
int cancel_pending_req(const char *msg, size_t msg_len)
{
struct aclk_cancel_pending_req cmd;
struct aclk_cancel_pending_req cmd = {.request_id = NULL, .trace_id = NULL};
if(parse_cancel_pending_req(msg, msg_len, &cmd)) {
error_report("Error parsing CancelPendingReq");
return 1;