Commit 4f46a901 authored by Davis King's avatar Davis King

Minor change to avoid a compiler warning in gcc.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404184
parent 0e25de9c
...@@ -1093,9 +1093,9 @@ namespace dlib ...@@ -1093,9 +1093,9 @@ namespace dlib
if (depth != 24) if (depth != 24)
{ {
// convert this image into an 8 bit image // convert this image into an 8 bit image
unsigned int red_bits; unsigned int red_bits = 0;
unsigned int green_bits; unsigned int green_bits = 0;
unsigned int blue_bits; unsigned int blue_bits = 0;
if (depth != 16) if (depth != 16)
{ {
unsigned int bits = depth/3; unsigned int bits = depth/3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment