]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/imageboot.c
xnu-2050.48.11.tar.gz
[apple/xnu.git] / bsd / kern / imageboot.c
index 8bc4ede3654aa93788d796b1c19e4c5517d01d11..9fa89e44315a16552add539388182f767683de18 100644 (file)
@@ -195,6 +195,7 @@ imageboot_mount_image(const char *root_path, int height)
                vnode_get_and_drop_always(old_rootvnode);
            }
 #else 
+           height = 0; /* keep the compiler from complaining */
            vnode_get_and_drop_always(old_rootvnode);
 #endif /* CONFIG_IMGSRC_ACCESS */
        }