Bug 587488 warning: CrashReporter::OOPDeinit() declared static but never defined [!IPC]
authortimeless@mozdev.org
Tue, 22 Mar 2011 10:57:26 -0400
changeset 63633 0c6c92d27f04ed21a5ad64c44cc6057f8a4a5051
parent 63632 e4a1143ddbdf9d587d396e6e38640d8c6ea1d934
child 63634 92bc57f478c1503efe65690f1ab33c7ba3020f20
push id19248
push usereakhgari@mozilla.com
push dateWed, 23 Mar 2011 23:19:35 +0000
treeherdermozilla-central@ab95ab9e389b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs587488
milestone2.0b13pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 587488 warning: CrashReporter::OOPDeinit() declared static but never defined [!IPC] r=luser
toolkit/crashreporter/nsExceptionHandler.cpp
--- a/toolkit/crashreporter/nsExceptionHandler.cpp
+++ b/toolkit/crashreporter/nsExceptionHandler.cpp
@@ -1023,17 +1023,19 @@ nsresult SetupExtraData(nsILocalFile* aA
 
   if (filename.Length() < XP_PATH_MAX)
     strncpy(lastCrashTimeFilename, filename.get(), filename.Length());
 #endif
 
   return NS_OK;
 }
 
+#ifdef MOZ_IPC
 static void OOPDeinit();
+#endif
 
 nsresult UnsetExceptionHandler()
 {
   delete gExceptionHandler;
 
   // do this here in the unlikely case that we succeeded in allocating
   // our strings but failed to allocate gExceptionHandler.
   if (crashReporterAPIData_Hash) {