diff --git a/js/js2/js2.cpp b/js/js2/js2.cpp index 2f924d6ae19..25c2974a4f3 100644 --- a/js/js2/js2.cpp +++ b/js/js2/js2.cpp @@ -394,7 +394,7 @@ namespace Shell { } /* namespace JavaScript */ -int main(int /* argc */, char /* **argv */) +int main(int argc, char **argv) { #if defined(XP_MAC) && !defined(XP_MAC_MPW) initConsole("\pJavaScript Shell", "Welcome to the js2 shell.\n", argc, argv); diff --git a/js2/tests/cpp/js2_shell.cpp b/js2/tests/cpp/js2_shell.cpp index 2f924d6ae19..25c2974a4f3 100644 --- a/js2/tests/cpp/js2_shell.cpp +++ b/js2/tests/cpp/js2_shell.cpp @@ -394,7 +394,7 @@ namespace Shell { } /* namespace JavaScript */ -int main(int /* argc */, char /* **argv */) +int main(int argc, char **argv) { #if defined(XP_MAC) && !defined(XP_MAC_MPW) initConsole("\pJavaScript Shell", "Welcome to the js2 shell.\n", argc, argv);