mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Minor change to avoid a compiler warning in gcc.
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404184
This commit is contained in:
parent
0e25de9c10
commit
4f46a90104
@ -1093,9 +1093,9 @@ namespace dlib
|
||||
if (depth != 24)
|
||||
{
|
||||
// convert this image into an 8 bit image
|
||||
unsigned int red_bits;
|
||||
unsigned int green_bits;
|
||||
unsigned int blue_bits;
|
||||
unsigned int red_bits = 0;
|
||||
unsigned int green_bits = 0;
|
||||
unsigned int blue_bits = 0;
|
||||
if (depth != 16)
|
||||
{
|
||||
unsigned int bits = depth/3;
|
||||
|
Loading…
Reference in New Issue
Block a user