More compiler warning fixes

This commit is contained in:
dingusdev 2024-06-24 19:40:20 -07:00
parent ec7907ed71
commit 606c9dd9a8
4 changed files with 5 additions and 3 deletions

View File

@ -797,7 +797,7 @@ static void tlb_flush_entries(std::array<TLBEntry, N> &tlb, TLBFlags type) {
template <const TLBType tlb_type>
void tlb_flush_entries(TLBFlags type)
{
TLBEntry *m1_tlb, *m2_tlb, *m3_tlb;
//TLBEntry *m1_tlb, *m2_tlb, *m3_tlb;
int i;
if (tlb_type == TLBType::ITLB) {

View File

@ -447,7 +447,9 @@ void enter_debugger() {
size_t separator_pos;
bool did_message = false;
uint32_t next_addr_ppc;
#ifdef ENABLE_68K_DEBUGGER
uint32_t next_addr_68k;
#endif
bool cmd_repeat;
unique_ptr<OfConfigUtils> ofnvram = unique_ptr<OfConfigUtils>(new OfConfigUtils);

View File

@ -71,7 +71,7 @@ private:
char * buffer = new char[1 <<17];
uint8_t hd_id_data[ATA_HD_SEC_SIZE] = {};
//uint8_t hd_id_data[ATA_HD_SEC_SIZE] = {};
};
#endif // ATA_HARD_DISK_H

View File

@ -205,7 +205,7 @@ int ScsiHardDisk::req_sense(uint16_t alloc_len) {
//if (!check_lun())
// return;
int next_phase;
//int next_phase;
int lun;
if (this->last_selection_has_atention) {