[FREELDR][INFLIB]: It is perfectly correct to retrieve the field of index == 0 of...
[reactos.git] / reactos / boot / freeldr / freeldr / lib / inffile / inffile.c
index 4894e9c..3ca695e 100644 (file)
@@ -19,7 +19,7 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS text-mode setup
- * FILE:            subsys/system/usetup/infcache.c
+ * FILE:            boot/freeldr/freeldr/lib/inffile/inffile.c
  * PURPOSE:         INF file parser that caches contents of INF file in memory
  * PROGRAMMER:      Royce Mitchell III
  *                  Eric Kohl
@@ -1459,7 +1459,7 @@ InfGetStringField (
     PCHAR Ptr;
     SIZE_T Size;
 
-    if ((Context == NULL) || (Context->Line == NULL) || (FieldIndex == 0))
+    if ((Context == NULL) || (Context->Line == NULL))
     {
 //      DPRINT("Invalid parameter\n");
         return FALSE;