commit ff798e2c79d66286b71d3e2c130e6c7693e10151 parent 1a346fdd90a4f37f26cd50a160ba8214b0512b03 Author: Naveen Narayanan <zerous@nocebo.space> Date: Sat, 9 Oct 2021 19:28:59 +0200 Initialize ptr to NULL instead of 0 Diffstat:
M | main.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c @@ -102,7 +102,7 @@ main(int argc, char **argv) continue; } - a = 0; + a = NULL; found = 0; if (isattack(statmsg)) { SLIST_FOREACH(a, &head, attackers)