Commit c62b4603 authored by Alejandro Mery's avatar Alejandro Mery
Browse files

script: accept empty string entries

parent 33d67b72
...@@ -193,7 +193,7 @@ struct script_string_entry *script_string_entry_append(struct script *script, ...@@ -193,7 +193,7 @@ struct script_string_entry *script_string_entry_append(struct script *script,
assert(script); assert(script);
assert(!list_empty(&script->sections)); assert(!list_empty(&script->sections));
assert(name && *name); assert(name);
assert(s); assert(s);
if ((entry = malloc(sizeof(*entry)+l+1))) { if ((entry = malloc(sizeof(*entry)+l+1))) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment