Fix building using gcc-2.95

svn path=/trunk/; revision=3502
This commit is contained in:
guido 2002-09-14 13:10:45 +00:00
parent 347f421015
commit 50bd524398

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: dirctl.c,v 1.10 2002/09/13 18:51:01 hbirr Exp $ /* $Id: dirctl.c,v 1.11 2002/09/14 13:10:45 guido Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -56,10 +56,9 @@ CdfsGetEntryName(PDEVICE_EXTENSION DeviceExt,
* FUNCTION: Retrieves the file name, be it in short or long file name format * FUNCTION: Retrieves the file name, be it in short or long file name format
*/ */
{ {
PDIR_RECORD Record; PDIR_RECORD Record = *Ptr;
Record = *Ptr;
ULONG Index; ULONG Index;
if (*CurrentOffset >= DirLength) if (*CurrentOffset >= DirLength)
return(STATUS_NO_MORE_ENTRIES); return(STATUS_NO_MORE_ENTRIES);