mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 06:50:05 +01:00
utils: allow strv_join on a null string
NULL in means NULL out, as the docs says, no need for an assert here. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1280>
This commit is contained in:
parent
cfec80582e
commit
4a67ddc111
1 changed files with 0 additions and 2 deletions
|
|
@ -226,8 +226,6 @@ strv_from_string(const char *in, const char *separators, size_t *num_elements)
|
|||
char *
|
||||
strv_join(char **strv, const char *joiner)
|
||||
{
|
||||
assert(strv != NULL);
|
||||
|
||||
char **s;
|
||||
char *str;
|
||||
size_t slen = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue