]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
encoding.h: fix compiler warning
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 3 Nov 2010 19:15:20 +0000 (12:15 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 3 Nov 2010 19:19:05 +0000 (12:19 -0700)
commit4e586dd073cb0c7d68697b2a5883a580077a9093
treed48d6116539a82a633f3cca217baab19700c7994
parentc98b0268fd38f804c4d695f3152ec575aed1fc2c
encoding.h: fix compiler warning

Fix a compiler warning about an uninitialized variable. Basically, we
used to insert uninitialized values into a std::multimap and then fix
them later. Rather than doing that, just insert the value we want
directly into the map.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/include/encoding.h