From 29c104fd60081756d734e21aeb4b865951e06948 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 10 Dec 2007 13:43:12 -0800 Subject: Fix bug leftover from pstring conversion noticed by ceez on irc. Jeremy. (This used to be commit 70950b419a57465c38bb36722644b95b1d14f76d) --- source3/printing/print_aix.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/printing/print_aix.c b/source3/printing/print_aix.c index bb125530df..fd85ca0833 100644 --- a/source3/printing/print_aix.c +++ b/source3/printing/print_aix.c @@ -32,15 +32,13 @@ bool aix_cache_reload(void) int iEtat; XFILE *pfile; char *line = NULL, *p; - char *name; + char *name = NULL; TALLOC_CTX *ctx = talloc_init("aix_cache_reload"); if (!ctx) { return false; } - *name = 0; - DEBUG(5, ("reloading aix printcap cache\n")); if ((pfile = x_fopen(lp_printcapname(), O_RDONLY, 0)) == NULL) { -- cgit