mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-03 21:24:43 +01:00
Initialize variables that currently may theoretically be used uninitialized
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@688 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
fda6a1e6fe
commit
df9901a45d
2 changed files with 8 additions and 7 deletions
|
|
@ -165,8 +165,8 @@ static bool RetrieveTest(TestMap *range_map, const RangeTest *range_test) {
|
|||
}
|
||||
|
||||
linked_ptr<CountedObject> object;
|
||||
AddressType retrieved_base;
|
||||
AddressType retrieved_size;
|
||||
AddressType retrieved_base = AddressType();
|
||||
AddressType retrieved_size = AddressType();
|
||||
bool retrieved = range_map->RetrieveRange(address, &object,
|
||||
&retrieved_base,
|
||||
&retrieved_size);
|
||||
|
|
@ -209,8 +209,8 @@ static bool RetrieveTest(TestMap *range_map, const RangeTest *range_test) {
|
|||
expected_nearest = false;
|
||||
|
||||
linked_ptr<CountedObject> nearest_object;
|
||||
AddressType nearest_base;
|
||||
AddressType nearest_size;
|
||||
AddressType nearest_base = AddressType();
|
||||
AddressType nearest_size = AddressType();
|
||||
bool retrieved_nearest = range_map->RetrieveNearestRange(address,
|
||||
&nearest_object,
|
||||
&nearest_base,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue