]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/GenBuild/org/tianocore/build/FileProcess.java
Adjust some code format and clear some unused codes.
[mirror_edk2.git] / Tools / Source / GenBuild / org / tianocore / build / FileProcess.java
index 32b94d8225fbd63f2756eaa98660106c285d16e9..dcc52094ecc9703a1bb0a679c3119ab3f44351b8 100644 (file)
@@ -156,18 +156,12 @@ public class FileProcess {
       @param root Root node\r
     **/\r
     public synchronized void parseFile(String filename, Node root) throws BuildException {\r
-        boolean flag = false;\r
         for (int i = 0; i < fileTypes.length; i++) {\r
             if (filename.endsWith(fileTypes[i][0])) {\r
-                flag = true;\r
                 parseFile(filename, fileTypes[i][2], root);\r
+                return ;\r
             }\r
         }\r
-        /*\r
-        if (!flag) {\r
-            throw new BuildException("File [" + filename + "] is not known from its suffix.");\r
-        }\r
-        */\r
     }\r
 \r
     /**\r