mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 07:16:37 +02:00
relay: fix use of uninitialized variable "ptr_buffer"
This commit is contained in:
@@ -515,6 +515,7 @@ RELAY_API_PROTOCOL_CALLBACK(input)
|
||||
if (!json_body)
|
||||
return WEECHAT_RC_ERROR;
|
||||
|
||||
ptr_buffer = NULL;
|
||||
json_buffer_id = cJSON_GetObjectItem (json_body, "buffer_id");
|
||||
if (json_buffer_id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user