[systemd-commits] src/specifier.c
Lennart Poettering
lennart at kemper.freedesktop.org
Tue Aug 30 07:50:04 PDT 2011
src/specifier.c | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 149e180ac35564b6c8bf7757301634b31e3d0054
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Aug 30 16:49:17 2011 +0200
specifier: drop misplaced assert()
diff --git a/src/specifier.c b/src/specifier.c
index 497d395..a9fff88 100644
--- a/src/specifier.c
+++ b/src/specifier.c
@@ -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));
}
More information about the systemd-commits
mailing list