There is no need to initialize globals to 0.
authorclaudio <claudio@openbsd.org>
Fri, 18 Apr 2014 22:23:50 +0000 (22:23 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 18 Apr 2014 22:23:50 +0000 (22:23 +0000)
sys/net/pipex.c

index 9fc28de..06e8e6d 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: pipex.c,v 1.48 2013/11/11 09:15:34 mpi Exp $  */
+/*     $OpenBSD: pipex.c,v 1.49 2014/04/18 22:23:50 claudio Exp $      */
 
 /*-
  * Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -95,8 +95,8 @@ struct pipex_hash_head
 
 struct radix_node_head pipex_rd_head4;
 struct radix_node_head pipex_rd_head6;
-int pipex_rd_head4_initialized = 0;
-int pipex_rd_head6_initialized = 0;
+int pipex_rd_head4_initialized;
+int pipex_rd_head6_initialized;
 struct timeout pipex_timer_ch;                 /* callout timer context */
 int pipex_prune = 1;                   /* walk list every seconds */