Skip to contentSkip to conversation

Removed compilation warnings from mountd/cache.c (take 2)

PATCH New Steve Dickson 1 participant 1 message May 18, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Removed compilation warnings from mountd/cache.c (take 2)

From: Jim Rees <[email protected]>

Commit 5604b35a6 introduced a number of missing initializer warnings that were missed. This patch removes those warnings.

---
 utils/mountd/cache.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
utils/mountd/cache.c +5 -5
index df6b38f..0c4a03d 100644
@@ -827,11 +827,11 @@ struct {
 	FILE *f;
 	char vbuf[RPC_CHAN_BUF_SIZE];
 } cachelist[] = {
-	{ "auth.unix.ip", auth_unix_ip, NULL},
-	{ "auth.unix.gid", auth_unix_gid, NULL},
-	{ "nfsd.export", nfsd_export, NULL},
-	{ "nfsd.fh", nfsd_fh, NULL},
-	{ NULL, NULL, NULL }
+	{ "auth.unix.ip", auth_unix_ip, NULL, ""},
+	{ "auth.unix.gid", auth_unix_gid, NULL, ""},
+	{ "nfsd.export", nfsd_export, NULL, ""},
+	{ "nfsd.fh", nfsd_fh, NULL, ""},
+	{ NULL, NULL, NULL, ""}
 };
 
 extern int manage_gids;
Signature · 1 line
1.7.5.1