patch 8.2.4610: some conditions are always true

Problem:    Some conditions are always true.
Solution:   Remove the useless conditions. (closes #9993)
diff --git a/src/fileio.c b/src/fileio.c
index 21417c2..9ef2dbd 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4933,7 +4933,7 @@
 		break;
 	    }
 
-	    if (!ignore && checkitem != NULL)
+	    if (checkitem != NULL)
 	    {
 		int r = checkitem(context, item);