Remove false assertion

The list can be empty
This commit is contained in:
Markus Mäkelä 2019-02-08 10:39:42 +02:00
parent 19ab89144b
commit 1073bc1832
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -4401,7 +4401,6 @@ bool config_param_is_valid(const MXS_MODULE_PARAM* params,
std::vector<string> config_break_list_string(const string& list_string)
{
mxb_assert(!list_string.empty());
string copy = list_string;
/* Parse the elements from the list. They are separated by ',' and are trimmed of whitespace. */
std::vector<string> tokenized = mxs::strtok(copy, ",");