From b6766af3e6061e6a5cd0f6d206998b0c6a685bf8 Mon Sep 17 00:00:00 2001 From: Murai Takashi Date: Thu, 13 Dec 2018 06:10:37 +0900 Subject: [PATCH] cortex: Fix PVS 1504 Fix 'r' is assigned values twice successively. Change-Id: Ia46786badb1235f16c42e09eb9e9fb750fb2bf29 Reviewed-on: https://review.haiku-os.org/760 Reviewed-by: Barrett17 --- src/apps/cortex/MediaRoutingView/MediaJack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/cortex/MediaRoutingView/MediaJack.cpp b/src/apps/cortex/MediaRoutingView/MediaJack.cpp index 1beaefdec4..664f2c7fe7 100644 --- a/src/apps/cortex/MediaRoutingView/MediaJack.cpp +++ b/src/apps/cortex/MediaRoutingView/MediaJack.cpp @@ -650,7 +650,7 @@ void MediaJack::_drawInto( } else if (isOutput()) { - BRect r = targetRect; + BRect r; BPoint p; // fill rect