From c0c43acb6ea6ce19167e317ff6c443892d522c61 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 12 Jun 2016 12:07:21 -0700 Subject: [PATCH] Buildfix for gcc. At least our Travis gccs are hitting an ICE. --- Core/Reporting.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Core/Reporting.cpp b/Core/Reporting.cpp index a4f58b002f..b85b11f64e 100644 --- a/Core/Reporting.cpp +++ b/Core/Reporting.cpp @@ -76,7 +76,7 @@ namespace Reporting int int2; int int3; }; - static Payload payloadBuffer[PAYLOAD_BUFFER_SIZE] = {}; + static Payload payloadBuffer[PAYLOAD_BUFFER_SIZE]; static int payloadBufferPos = 0; // Returns the full host (e.g. report.ppsspp.org:80.) @@ -353,6 +353,9 @@ namespace Reporting postdata.Finish(); SendReportRequest("/report/compat", postdata.ToString(), postdata.GetMimeType()); break; + + case RequestType::NONE: + break; } payload.type = RequestType::NONE;