dumpCallback needs types only available when crash reporting is on (and breakpad included). While at it remove dummy code in dumpCallback

master
Nicky 2022-02-10 12:18:24 +01:00
parent b7fefde5ae
commit a8805b3280
1 changed files with 2 additions and 8 deletions

View File

@ -137,19 +137,13 @@ LLAppViewerLinux::~LLAppViewerLinux()
{
}
#if LL_SEND_CRASH_REPORTS
static bool dumpCallback(const google_breakpad::MinidumpDescriptor& descriptor, void* context, bool succeeded)
{
std::map< std::string, std::string> parameters, files;
parameters["prod"] = "MyApp";
parameters["ver"] = "1.0";
parameters["email"] = "fred@bugsplat.com";
parameters["comments"] = "BugSplat rocks!";
files["upload_file_minidump"] = descriptor.path();
printf("Dump path: %s\n", descriptor.path() );
return succeeded;
}
#endif
bool LLAppViewerLinux::init()
{