mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-02 21: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>
|
template <const TLBType tlb_type>
|
||||||
void tlb_flush_entries(TLBFlags type)
|
void tlb_flush_entries(TLBFlags type)
|
||||||
{
|
{
|
||||||
TLBEntry *m1_tlb, *m2_tlb, *m3_tlb;
|
//TLBEntry *m1_tlb, *m2_tlb, *m3_tlb;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (tlb_type == TLBType::ITLB) {
|
if (tlb_type == TLBType::ITLB) {
|
||||||
|
@ -447,7 +447,9 @@ void enter_debugger() {
|
|||||||
size_t separator_pos;
|
size_t separator_pos;
|
||||||
bool did_message = false;
|
bool did_message = false;
|
||||||
uint32_t next_addr_ppc;
|
uint32_t next_addr_ppc;
|
||||||
|
#ifdef ENABLE_68K_DEBUGGER
|
||||||
uint32_t next_addr_68k;
|
uint32_t next_addr_68k;
|
||||||
|
#endif
|
||||||
bool cmd_repeat;
|
bool cmd_repeat;
|
||||||
|
|
||||||
unique_ptr<OfConfigUtils> ofnvram = unique_ptr<OfConfigUtils>(new OfConfigUtils);
|
unique_ptr<OfConfigUtils> ofnvram = unique_ptr<OfConfigUtils>(new OfConfigUtils);
|
||||||
|
@ -71,7 +71,7 @@ private:
|
|||||||
|
|
||||||
char * buffer = new char[1 <<17];
|
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
|
#endif // ATA_HARD_DISK_H
|
||||||
|
@ -205,7 +205,7 @@ int ScsiHardDisk::req_sense(uint16_t alloc_len) {
|
|||||||
//if (!check_lun())
|
//if (!check_lun())
|
||||||
// return;
|
// return;
|
||||||
|
|
||||||
int next_phase;
|
//int next_phase;
|
||||||
|
|
||||||
int lun;
|
int lun;
|
||||||
if (this->last_selection_has_atention) {
|
if (this->last_selection_has_atention) {
|
||||||
|
Loading…
Reference in New Issue
Block a user