r26355: Eliminate global_loadparm in more places.
[ambi/samba-autobuild/.git] / source4 / torture / locktest2.c
index 19629d87707bcc53d6e494a4fe8ed00017808f31..1dfefc15ed88464ddd46e4047f4b19c34f7294bd 100644 (file)
@@ -484,7 +484,7 @@ static void usage(void)
        argc -= 4;
        argv += 4;
 
-       global_loadparm = lp_ctx = loadparm_init(talloc_autofree_context());
+       lp_ctx = loadparm_init(talloc_autofree_context());
        lp_load(lp_ctx, dyn_CONFIGFILE);
 
        if (getenv("USER")) {