mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 09:43:13 +02:00
core, api: use "const char *" variables for result of string functions with const parameter
This commit is contained in:
@@ -688,7 +688,8 @@ hdata_count (struct t_hdata *hdata, void *pointer)
|
||||
void
|
||||
hdata_get_index_and_name (const char *name, int *index, const char **ptr_name)
|
||||
{
|
||||
char *pos, *str_index;
|
||||
const char *pos;
|
||||
char *str_index;
|
||||
int number;
|
||||
|
||||
if (index)
|
||||
|
||||
Reference in New Issue
Block a user