Systemd/src/bootchart
Stefan Beller 226b735a74 bootchart: Remove unneeded check for NULL
Directly before the changed line there is:

	while ((parent->next_ps && parent->pid != ps->ppid))
		parent = parent->next_ps;

which looks one element ahead of the list, hence we can rely on parent
being non null here.
If 'parent' were NULL at that while loop already, it would crash as we're
dereferencing 'parent' when checking for next_ps already.

Signed-off-by: Stefan Beller <stefanbeller@googlemail.com>
2013-12-30 19:10:22 +01:00
..
bootchart.c log: log_error() and friends add a newline after each line anyway, so avoid including it in the log strings 2013-12-24 16:39:37 +01:00
bootchart.conf bootchart: use conf-parser & CamelCase names in .conf 2013-02-14 21:36:45 +01:00
bootchart.h bootchart: fix typos in copyright notices 2013-06-12 01:40:02 -04:00
Makefile build-sys: add makefile to bootchart 2013-01-21 01:04:16 +01:00
store.c bootchart: Remove unneeded check for NULL 2013-12-30 19:10:22 +01:00
store.h bootchart: fix typos in copyright notices 2013-06-12 01:40:02 -04:00
svg.c Bring bootchart code in line with CODING_STYLE 2013-12-10 07:40:55 -05:00
svg.h bootchart: fix typos in copyright notices 2013-06-12 01:40:02 -04:00