From b6a185302e38a05aa2a33a70f0d24e5785334b9d Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 19 Oct 2002 17:19:41 +0000 Subject: [PATCH] Fix a missing initialization. --- sys/geom/bde/g_bde.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/geom/bde/g_bde.c b/sys/geom/bde/g_bde.c index 51fd77977004..47a3645b8999 100644 --- a/sys/geom/bde/g_bde.c +++ b/sys/geom/bde/g_bde.c @@ -138,6 +138,7 @@ g_bde_create(struct g_createargs *ga) g_trace(G_T_TOPOLOGY, "g_bde_create(%d)", ga->flag); g_topology_assert(); + gp = NULL; if (ga->flag == 1) { /* * Orderly dettachment.