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:
Davis King 2011-03-23 00:24:39 +00:00
parent 0e25de9c10
commit 4f46a90104
1 changed files with 3 additions and 3 deletions

View File

@ -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;