mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 04:16:38 +02:00
trigger: use "const char *" variables for result of string functions with const parameter
This commit is contained in:
@@ -239,8 +239,7 @@ trigger_search (const char *name)
|
||||
struct t_trigger *
|
||||
trigger_search_with_option (struct t_config_option *option)
|
||||
{
|
||||
const char *ptr_name;
|
||||
char *pos_option;
|
||||
const char *ptr_name, *pos_option;
|
||||
struct t_trigger *ptr_trigger;
|
||||
int num_chars;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user