am ad5ed361: Merge "Fix build from -Werror=maybe-uninitialized."

* commit 'ad5ed361a757494c0b308ec43cddc80ed9d8843f':
  Fix build from -Werror=maybe-uninitialized.
This commit is contained in:
Dan Albert 2015-03-10 15:03:38 +00:00 committed by Android Git Automerger
commit ee3e49cf73

View file

@ -90,7 +90,7 @@ static int set_verity_enabled_state(int fd, const char *block_device,
uint32_t magic_number;
const uint32_t new_magic = enable ? VERITY_METADATA_MAGIC_NUMBER
: VERITY_METADATA_MAGIC_DISABLE;
uint64_t device_length;
uint64_t device_length = 0;
int device = -1;
int retval = -1;