Fix an uninitialized variable warning when building with GCC.

Change-Id: I6f24553a9c4dfb59e05778f19406aefa058b6342
This commit is contained in:
Sameer Agarwal
2013-06-13 23:01:01 -07:00
parent c4a329155c
commit 85b7e9d3c1
+1
View File
@@ -267,6 +267,7 @@ class EndianAwareFileReader {
uint32_t value; uint32_t value;
} endian_test = { { 0, 1, 2, 3 } }; } endian_test = { { 0, 1, 2, 3 } };
host_endian_type_ = endian_test.value; host_endian_type_ = endian_test.value;
file_endian_type_ = host_endian_type_;
} }
~EndianAwareFileReader(void) { ~EndianAwareFileReader(void) {