diff options
author | Doug Zongker <dougz@android.com> | 2011-10-31 17:34:15 +0100 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2011-10-31 23:51:07 +0100 |
commit | daefc1d442fb421606680feb9aeb59c133f4c427 (patch) | |
tree | 71b64ebdd66540aca7a523c73a47626ca519d039 /updater/install.c | |
parent | temporarily remove verifier_test binary (diff) | |
download | android_bootable_recovery-daefc1d442fb421606680feb9aeb59c133f4c427.tar android_bootable_recovery-daefc1d442fb421606680feb9aeb59c133f4c427.tar.gz android_bootable_recovery-daefc1d442fb421606680feb9aeb59c133f4c427.tar.bz2 android_bootable_recovery-daefc1d442fb421606680feb9aeb59c133f4c427.tar.lz android_bootable_recovery-daefc1d442fb421606680feb9aeb59c133f4c427.tar.xz android_bootable_recovery-daefc1d442fb421606680feb9aeb59c133f4c427.tar.zst android_bootable_recovery-daefc1d442fb421606680feb9aeb59c133f4c427.zip |
Diffstat (limited to 'updater/install.c')
-rw-r--r-- | updater/install.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/updater/install.c b/updater/install.c index 7b4b99b01..f68bd03c8 100644 --- a/updater/install.c +++ b/updater/install.c @@ -792,11 +792,12 @@ Value* WriteRawImageFn(const char* name, State* state, int argc, Expr* argv[]) { return NULL; } + char* partition = NULL; if (partition_value->type != VAL_STRING) { ErrorAbort(state, "partition argument to %s must be string", name); goto done; } - char* partition = partition_value->data; + partition = partition_value->data; if (strlen(partition) == 0) { ErrorAbort(state, "partition argument to %s can't be empty", name); goto done; |