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

View File

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