am 8386e134
: Merge "Fix clang compiler warning."
* commit '8386e134be39e94f2856ed317d86172ea51edd3c': Fix clang compiler warning.
This commit is contained in:
commit
9449bd618d
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ static void cmd_erase(struct protocol_handle *phandle, const char *arg)
|
|||
return;
|
||||
}
|
||||
|
||||
if (path == NULL) {
|
||||
if (!path[0]) {
|
||||
fastboot_fail(phandle, "Couldn't find partition");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue