mirror of
https://github.com/systemd/systemd.git
synced 2024-12-27 02:53:33 +08:00
specifier: drop misplaced assert()
This commit is contained in:
parent
edb4977837
commit
149e180ac3
@ -104,7 +104,5 @@ char *specifier_printf(const char *text, const Specifier table[], void *userdata
|
||||
/* Generic handler for simple string replacements */
|
||||
|
||||
char* specifier_string(char specifier, void *data, void *userdata) {
|
||||
assert(data);
|
||||
|
||||
return strdup(strempty(data));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user