From: didg Date: Wed, 11 Sep 2002 03:03:27 +0000 (+0000) Subject: afp_createfile initalize of pointer before use help :( X-Git-Tag: point-did-cleanup~22 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=commitdiff_plain;h=515d85cdac045300eca4eb278b384879d975097f;ds=sidebyside afp_createfile initalize of pointer before use help :( --- diff --git a/etc/afpd/file.c b/etc/afpd/file.c index fc441ad2..02a7f9f8 100644 --- a/etc/afpd/file.c +++ b/etc/afpd/file.c @@ -1,5 +1,5 @@ /* - * $Id: file.c,v 1.58 2002-09-07 19:18:59 didg Exp $ + * $Id: file.c,v 1.59 2002-09-11 03:03:27 didg Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -424,7 +424,7 @@ int ibuflen, *rbuflen; struct adouble ad, *adp; struct vol *vol; struct dir *dir; - struct ofork *of; + struct ofork *of = NULL; char *path, *upath; int creatf, did, openf, retvalue = AFP_OK; u_int16_t vid;