mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-02-08 02:30:40 +00:00
More compiler warning fixes
This commit is contained in:
parent
ec7907ed71
commit
606c9dd9a8
@ -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) {
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user