From 63086bc18d087749baa9b05062ee5633db09b352 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Thu, 19 Dec 2019 01:44:49 +1100 Subject: [PATCH] improved msvc warning compliance --- app/render/pixelservice.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/render/pixelservice.cpp b/app/render/pixelservice.cpp index 7a90843ba..baf694263 100644 --- a/app/render/pixelservice.cpp +++ b/app/render/pixelservice.cpp @@ -96,6 +96,9 @@ int PixelService::BytesPerChannel(const olive::PixelFormat &format) } qFatal("Invalid pixel format requested"); + + // qFatal will abort so we won't get here, but this suppresses compiler warnings + return 0; } FramePtr PixelService::ConvertPixelFormat(FramePtr frame, const olive::PixelFormat &dest_format)