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

Unified Diff: test/compilable/src/program.cpp

Issue 316163002: Remove unused parameters from test code. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Use int main(void) instead Created 6 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 | « test/cflags/cflags.c ('k') | test/configurations/basics/configurations.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/compilable/src/program.cpp
diff --git a/test/compilable/src/program.cpp b/test/compilable/src/program.cpp
index 81420bad4310b0c661943f98bbe115871175d83a..8af2c9b6ffcb2291ddd8f96620c1bbbed6f78b4b 100644
--- a/test/compilable/src/program.cpp
+++ b/test/compilable/src/program.cpp
@@ -1,7 +1,7 @@
#include <stdio.h>
#include "lib1.hpp"
-int main(int argc, char *argv[]) {
+int main(void) {
fprintf(stdout, "Hello from program.c\n");
fflush(stdout);
lib1_function();
« no previous file with comments | « test/cflags/cflags.c ('k') | test/configurations/basics/configurations.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698