From d8729f8cb55d118c1937b7d001d70d6ea4476e52 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Mon, 25 Feb 2019 18:51:33 +0000 Subject: *: use proper bool initializers & fix comparisons - bools should be initialized with true/false - bools do not need to be compared Signed-off-by: Quentin Young --- lib/command_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/command_graph.c') diff --git a/lib/command_graph.c b/lib/command_graph.c index 0e8669c4b5..4757fd951f 100644 --- a/lib/command_graph.c +++ b/lib/command_graph.c @@ -471,7 +471,7 @@ void cmd_graph_node_print_cb(struct graph_node *gn, struct buffer *buf) struct cmd_token *tok = gn->data; const char *color; - if (wasend == true) { + if (wasend) { wasend = false; return; } -- cgit v1.2.3