Additional lint

This commit is contained in:
Jasmine Iwanek
2023-10-13 14:17:02 -04:00
parent f6a5229a98
commit a753cd16dc
3 changed files with 4 additions and 5 deletions

View File

@@ -447,8 +447,8 @@ extern void mem_close(void);
extern void mem_reset(void); extern void mem_reset(void);
extern void mem_remap_top(int kb); extern void mem_remap_top(int kb);
extern mem_mapping_t *read_mapping[MEM_MAPPINGS_NO]; extern mem_mapping_t *read_mapping[MEM_MAPPINGS_NO];
extern mem_mapping_t *write_mapping[MEM_MAPPINGS_NO]; extern mem_mapping_t *write_mapping[MEM_MAPPINGS_NO];
#ifdef EMU_CPU_H #ifdef EMU_CPU_H
static __inline uint32_t static __inline uint32_t

View File

@@ -332,7 +332,7 @@ static void
time_get(nvr_t *nvr, struct tm *tm) time_get(nvr_t *nvr, struct tm *tm)
{ {
const local_t *local = (local_t *) nvr->data; const local_t *local = (local_t *) nvr->data;
int8_t temp; int8_t temp;
if (nvr->regs[RTC_REGB] & REGB_DM) { if (nvr->regs[RTC_REGB] & REGB_DM) {
/* NVR is in Binary data mode. */ /* NVR is in Binary data mode. */
@@ -370,7 +370,7 @@ static void
time_set(nvr_t *nvr, struct tm *tm) time_set(nvr_t *nvr, struct tm *tm)
{ {
const local_t *local = (local_t *) nvr->data; 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) { if (nvr->regs[RTC_REGB] & REGB_DM) {
/* NVR is in Binary data mode. */ /* NVR is in Binary data mode. */

View File

@@ -143,5 +143,4 @@ RendererCommon::eventDelegate(QEvent *event, bool &result)
result = QApplication::sendEvent(parentWidget, event); result = QApplication::sendEvent(parentWidget, event);
return true; return true;
} }
return false;
} }