]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: remove spurious assert in parsing CrashChangeVT=
authorMichal Schmidt <mschmidt@redhat.com>
Wed, 7 Oct 2015 11:56:43 +0000 (13:56 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Wed, 7 Oct 2015 12:24:49 +0000 (14:24 +0200)
"data" is always NULL (and unused) in config_parse_crash_chvt().

src/core/main.c

index d8a71488bdfdff1a587318a2b225b3b84742ff28..2fa96901c7d5d8d29e4c3369fff2f78511dfa15d 100644 (file)
@@ -521,7 +521,6 @@ static int config_parse_crash_chvt(
         assert(filename);
         assert(lvalue);
         assert(rvalue);
-        assert(data);
 
         r = parse_crash_chvt(rvalue);
         if (r < 0) {