From 4a1cff32f838530849faf30d9d2b58444285f665 Mon Sep 17 00:00:00 2001 From: max_10 Date: Wed, 25 Jan 2023 13:42:16 +0100 Subject: [PATCH] hdmi_cec.cpp: fix caps shadowed declaration Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/7ea49af077c459ec536dc4dc5af67963df68785d Author: max_10 Date: 2023-01-25 (Wed, 25 Jan 2023) Origin message was: ------------------ - hdmi_cec.cpp: fix caps shadowed declaration ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libarmbox/hdmi_cec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libarmbox/hdmi_cec.cpp b/libarmbox/hdmi_cec.cpp index 0d2e291..8806d53 100644 --- a/libarmbox/hdmi_cec.cpp +++ b/libarmbox/hdmi_cec.cpp @@ -170,8 +170,8 @@ bool hdmi_cec::SetCECMode(VIDEO_HDMI_CEC_MODE _deviceType) * takes some time) */ laddrs.cec_version = CEC_OP_CEC_VERSION_2_0; - hw_caps_t *caps = get_hwcaps(); - strcpy(laddrs.osd_name, caps->boxname); + hw_caps_t *_caps = get_hwcaps(); + strcpy(laddrs.osd_name, _caps->boxname); laddrs.vendor_id = CEC_VENDOR_ID_NONE; switch (deviceType)