Fixed g_list_append return value warning
This commit is contained in:
parent
7490eb04f9
commit
340c05a42b
|
@ -188,7 +188,7 @@ gm_string_split_add_line(gchar *line, GList *lines, GList **lastptr) {
|
|||
lines = g_list_append(NULL, line);
|
||||
*lastptr = lines;
|
||||
} else {
|
||||
g_list_append(*lastptr, line);
|
||||
*lastptr = g_list_append(*lastptr, line);
|
||||
*lastptr = (*lastptr)->next;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue