Fix compilation error

This commit is contained in:
akuker 2022-01-17 10:15:44 -06:00 committed by GitHub
parent cc23549776
commit c5fdee898a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -687,11 +687,11 @@ bool SCSIPowerView::WriteFrameBuffer(const DWORD *cdb, const BYTE *buf, const DW
// For each column
for (DWORD idx_col_x = 0; idx_col_x < (update_width_px); idx_col_x++){
DWORD pixel_buffer_idx;
BYTE pixel_buffer_byte;
DWORD pixel_bit_number;
DWORD pixel;
uint32_t loc;
DWORD pixel_buffer_idx = 0;
BYTE pixel_buffer_byte = 0;
DWORD pixel_bit_number = 0;
DWORD pixel = 0;
uint32_t loc = 0;
switch(color_depth){
case eColorDepth_t::eOneBitColor:
@ -805,4 +805,4 @@ bool SCSIPowerView::ReceiveBuffer(int len, BYTE *buffer)
}
return TRUE;
}
}