commit | 8386e134be39e94f2856ed317d86172ea51edd3c | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Dec 11 21:59:09 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Dec 11 21:59:09 2014 +0000 |
tree | e47a01cd8dcf81f1581b37726e206d020c859224 | |
parent | 81784ae8ddae139646441eb1dcaa5e1d89ab29de [diff] | |
parent | 59970e70412ba37a8e8f19805daf641983558beb [diff] |
Merge "Fix clang compiler warning."
diff --git a/fastbootd/commands.c b/fastbootd/commands.c index 98b7866..9be96dc 100644 --- a/fastbootd/commands.c +++ b/fastbootd/commands.c
@@ -173,7 +173,7 @@ return; } - if (path == NULL) { + if (!path[0]) { fastboot_fail(phandle, "Couldn't find partition"); return; }