diff options
-rw-r--r-- | source3/printing/print_aix.c | 4 |
1 files changed, 1 insertions, 3 deletions
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) { |