diff options
Diffstat (limited to 'googlemock/src/gmock_main.cc')
| -rw-r--r-- | googlemock/src/gmock_main.cc | 5 | 
1 files changed, 1 insertions, 4 deletions
| diff --git a/googlemock/src/gmock_main.cc b/googlemock/src/gmock_main.cc index 3306ffcf..98611b93 100644 --- a/googlemock/src/gmock_main.cc +++ b/googlemock/src/gmock_main.cc @@ -34,12 +34,10 @@  #ifdef ARDUINO  void setup() { -  int argc = 0; -  char** argv = nullptr;    // Since Google Mock depends on Google Test, InitGoogleMock() is    // also responsible for initializing Google Test.  Therefore there's    // no need for calling testing::InitGoogleTest() separately. -  testing::InitGoogleMock(&argc, argv); +  testing::InitGoogleMock();  }  void loop() { RUN_ALL_TESTS(); }  #else @@ -64,5 +62,4 @@ GTEST_API_ int main(int argc, char** argv) {    testing::InitGoogleMock(&argc, argv);    return RUN_ALL_TESTS();  } -  #endif | 
