From a753cd16dc1d9eb2c4abe5f07446a78b293afc3f Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Fri, 13 Oct 2023 14:17:02 -0400 Subject: [PATCH] Additional lint --- src/include/86box/mem.h | 4 ++-- src/nvr_at.c | 4 ++-- src/qt/qt_renderercommon.cpp | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/include/86box/mem.h b/src/include/86box/mem.h index c94d8cbbd..69a2b5de8 100644 --- a/src/include/86box/mem.h +++ b/src/include/86box/mem.h @@ -447,8 +447,8 @@ extern void mem_close(void); extern void mem_reset(void); extern void mem_remap_top(int kb); -extern mem_mapping_t *read_mapping[MEM_MAPPINGS_NO]; -extern mem_mapping_t *write_mapping[MEM_MAPPINGS_NO]; +extern mem_mapping_t *read_mapping[MEM_MAPPINGS_NO]; +extern mem_mapping_t *write_mapping[MEM_MAPPINGS_NO]; #ifdef EMU_CPU_H static __inline uint32_t diff --git a/src/nvr_at.c b/src/nvr_at.c index e4009262e..581eccf71 100644 --- a/src/nvr_at.c +++ b/src/nvr_at.c @@ -332,7 +332,7 @@ static void time_get(nvr_t *nvr, struct tm *tm) { const local_t *local = (local_t *) nvr->data; - int8_t temp; + int8_t temp; if (nvr->regs[RTC_REGB] & REGB_DM) { /* NVR is in Binary data mode. */ @@ -370,7 +370,7 @@ static void time_set(nvr_t *nvr, struct tm *tm) { const local_t *local = (local_t *) nvr->data; - int year = (tm->tm_year + 1900); + int year = (tm->tm_year + 1900); if (nvr->regs[RTC_REGB] & REGB_DM) { /* NVR is in Binary data mode. */ diff --git a/src/qt/qt_renderercommon.cpp b/src/qt/qt_renderercommon.cpp index 723211266..1eef4863c 100644 --- a/src/qt/qt_renderercommon.cpp +++ b/src/qt/qt_renderercommon.cpp @@ -143,5 +143,4 @@ RendererCommon::eventDelegate(QEvent *event, bool &result) result = QApplication::sendEvent(parentWidget, event); return true; } - return false; }