Bug 1018270 - Part 1: Cherrypick -Wunused-private-field warning fix from upstream gtest. r=ted

--HG--
extra : rebase_source : 45cdafffe4416cfbaa14a3a30305c4d2ce570992
This commit is contained in:
Chris Peterson 2014-06-02 20:17:00 -07:00
parent 97bdd1ca2a
commit a3d90fe8b0
2 changed files with 1 additions and 2 deletions

View File

@ -203,7 +203,6 @@ class GTestFlagSaver {
bool list_tests_;
String output_;
bool print_time_;
bool pretty_;
internal::Int32 random_seed_;
internal::Int32 repeat_;
bool shuffle_;

View File

@ -101,7 +101,7 @@ int RunGTestFunc()
nsresult rv = dirsvc->Get(NS_OS_CURRENT_WORKING_DIR,
NS_GET_IID(nsIFile),
getter_AddRefs(cwd));
MOZ_ASSERT(NS_SUCCEEDED(rv));
MOZ_RELEASE_ASSERT(NS_SUCCEEDED(rv));
crashreporter->SetEnabled(true);
crashreporter->SetMinidumpPath(cwd);
}