From 4a95d07e07a03e85d50c7cc242424e14e63ef841 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 7 Dec 2020 23:28:52 +0100 Subject: [PATCH] cc_frm: remove unused variable w_parent_frame Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/9b9d6dd9d62feb1161ec85f58c72c29a9820b300 Author: Thilo Graf Date: 2020-12-07 (Mon, 07 Dec 2020) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/components/cc_frm.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/components/cc_frm.cpp b/src/gui/components/cc_frm.cpp index a6110a312..2e7db02df 100644 --- a/src/gui/components/cc_frm.cpp +++ b/src/gui/components/cc_frm.cpp @@ -421,11 +421,10 @@ void CComponentsForm::paintCCItems() { //using of real x/y values to paint items if this text object is bound in a parent form int this_x = x, auto_x = x, this_y = y, auto_y = y, this_w = 0; - int w_parent_frame = 0; + if (cc_parent){ this_x = auto_x = cc_xr; this_y = auto_y = cc_yr; - w_parent_frame = cc_parent->getFrameThickness(); } //init and handle scrollbar