From efaba33624f46c84a69b97af1ffd7b2d4d4a4610 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 3 Dec 2014 16:48:58 -0500 Subject: [PATCH] sceMpeg: Remove an unnecessary if statement stream is previously used in the above memcpy, so this check is not necessary. --- Core/HLE/sceMpeg.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/HLE/sceMpeg.cpp b/Core/HLE/sceMpeg.cpp index c4dc0c52f8..025464cdc3 100644 --- a/Core/HLE/sceMpeg.cpp +++ b/Core/HLE/sceMpeg.cpp @@ -846,8 +846,7 @@ public: memcpy(newstream, stream, size); memcpy(newstream + size, str, sz); // delete old stream - if (stream) - delete[] stream; + delete[] stream; // replace with new stream stream = newstream; size = newsize;