[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 aa5aa54..3ca695e 100644 (file)
@@ -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;