]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/mach_fat.c
xnu-201.tar.gz
[apple/xnu.git] / bsd / kern / mach_fat.c
index 899c8c0b069c7ecd743dcaa3daee2913b5321ec9..6c25ae9d446ceca4bd1854aff8e772a75bc1c937 100644 (file)
@@ -73,7 +73,6 @@ fatfile_getarch(
        int                     best_grade;
        int                     nfat_arch;
        int                     end_of_archs;
-       struct proc *p = current_proc();                /* XXXX */
        struct fat_header       *header;
        off_t filesize;
 
@@ -93,7 +92,7 @@ fatfile_getarch(
                + nfat_arch * sizeof(struct fat_arch);
 #if 0
        filesize = ubc_getsize(vp);
-       if (end_of_archs > (int)filesize)
+       if (end_of_archs > (int)filesize) {
                return(LOAD_BADMACHO);
        }
 #endif