From a8805b3280ff5587e3898d5588902e190d1ff67a Mon Sep 17 00:00:00 2001 From: Nicky Date: Thu, 10 Feb 2022 12:18:24 +0100 Subject: [PATCH] dumpCallback needs types only available when crash reporting is on (and breakpad included). While at it remove dummy code in dumpCallback --- indra/newview/llappviewerlinux.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/indra/newview/llappviewerlinux.cpp b/indra/newview/llappviewerlinux.cpp index 650f710f08..5bdfa0725e 100644 --- a/indra/newview/llappviewerlinux.cpp +++ b/indra/newview/llappviewerlinux.cpp @@ -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() {