]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
realm: remove static initializations
authorJan Engelhardt <jengelh@medozas.de>
Fri, 23 Oct 2009 23:30:28 +0000 (01:30 +0200)
committerHarald Welte <laforge@gnumonks.org>
Sun, 25 Oct 2009 09:58:52 +0000 (10:58 +0100)
Save a little disk space, they are initialized to zero anyway.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libipt_realm.c

index c9e1760127ba5454d483b0f7de07e9e0dce0cb51..be1943edf486085074528372db3bb444c07cf845 100644 (file)
@@ -35,10 +35,9 @@ struct realmname {
 };
 
 /* array of realms from /etc/iproute2/rt_realms */
-static struct realmname *realms = NULL;
+static struct realmname *realms;
 /* 1 if loading failed */
-static int rdberr = 0;
-
+static int rdberr;
 
 static void load_realms(void)
 {