Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: tests/sha_tests.c

Issue 2809037: Make vboot_reference build in MSVC command line environment. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: Integrated trunk changes. Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/rollback_index_mock.c ('k') | tests/test_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/sha_tests.c
diff --git a/tests/sha_tests.c b/tests/sha_tests.c
index 2b75a037f797f04db62db735208ff4e1a58101a9..65cbb4627070dcda5c2851f6ca590bc6f82d38c5 100644
--- a/tests/sha_tests.c
+++ b/tests/sha_tests.c
@@ -78,6 +78,9 @@ int SHA512_tests(void) {
return success;
}
+/* disable MSVC warnings on unused arguments */
+__pragma(warning (disable: 4100))
+
int main(int argc, char* argv[]) {
int success = 1;
/* Initialize long_msg with 'a' x 1,000,000 */
« no previous file with comments | « tests/rollback_index_mock.c ('k') | tests/test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698