]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: encoding: silence warning
authorSage Weil <sage.weil@dreamhost.com>
Mon, 30 Jan 2012 05:05:08 +0000 (21:05 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Mon, 30 Jan 2012 05:08:02 +0000 (21:08 -0800)
commit60ead1eeab1638862a8a719bbfb3d1b0d30e8490
treefbdb19240ff66113c18ea173f593aec6953371cf
parentd3590b5edfaa6385ae207518aaa11af570bcd0eb
qa: encoding: silence warning

This is cheating, but we always use this class with int types, so it makes
this go away:

warning: test/encoding.cc:79:20: ‘*((void*)(& tu)+4).ConstructorCounter::data’ may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/test/encoding.cc