diff --git a/reactos/subsys/system/usetup/infcache.c b/reactos/subsys/system/usetup/infcache.c index eea8cdd67de..0bda20db3d9 100644 --- a/reactos/subsys/system/usetup/infcache.c +++ b/reactos/subsys/system/usetup/infcache.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: infcache.c,v 1.6 2003/09/27 09:14:15 robd Exp $ +/* $Id: infcache.c,v 1.7 2003/10/16 08:39:28 robd Exp $ * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS text-mode setup * FILE: subsys/system/usetup/infcache.c @@ -1153,7 +1153,6 @@ InfFindFirstLine (HINF InfHandle, /* Iterate through list of sections */ CacheSection = Cache->FirstSection; -// while (Section != NULL) // RobD - this looks like an error, Section variable never changes inside the while loop... while (CacheSection != NULL) { DPRINT("Comparing '%S' and '%S'\n", CacheSection->Name, Section); diff --git a/reactos/tools/mkhive/infcache.c b/reactos/tools/mkhive/infcache.c index 3bed6b6c4e6..d5ce2c984cc 100644 --- a/reactos/tools/mkhive/infcache.c +++ b/reactos/tools/mkhive/infcache.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: infcache.c,v 1.6 2003/09/27 09:14:15 robd Exp $ +/* $Id: infcache.c,v 1.7 2003/10/16 08:39:28 robd Exp $ * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS hive maker * FILE: tools/mkhive/infcache.c @@ -1004,7 +1004,6 @@ InfFindFirstLine (HINF InfHandle, /* Iterate through list of sections */ CacheSection = Cache->FirstSection; -// while (Section != NULL) // RobD - this looks like an error, Section variable never changes inside the while loop... while (CacheSection != NULL) { DPRINT("Comparing '%s' and '%s'\n", CacheSection->Name, Section);