Index: firmware/lib/vboot_kernel.c |
diff --git a/firmware/lib/vboot_kernel.c b/firmware/lib/vboot_kernel.c |
index e6658d7518a69546c8a3fc743f748d97d16c1a46..17cd925eec8ac0b8f1fb0e2f1a215dfe29b28139 100644 |
--- a/firmware/lib/vboot_kernel.c |
+++ b/firmware/lib/vboot_kernel.c |
@@ -108,6 +108,8 @@ int WriteAndFreeGptData(GptData* gptdata) { |
return 0; |
} |
+/* disable MSVC warning on const logical expression (as in } while(0);) */ |
+__pragma(warning(disable: 4127)) |
int LoadKernel(LoadKernelParams* params) { |