summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Fyodor Kupolov <fkupolov@google.com> 2015-04-03 00:16:38 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-04-03 00:16:38 +0000
commitebca76c23215579a23dde144d1950037d52452bf (patch)
tree0ff3193caaabdf8b8b70a48394f528e4b3f6ea79
parent63750cb6969c5cf70df5d9bfc571ee107456ed5a (diff)
parent9cad1985880f700be3150f05ca3539444da850d2 (diff)
am 9cad1985: Merge "Fix errors caused by unused variables"
* commit '9cad1985880f700be3150f05ca3539444da850d2': Fix errors caused by unused variables
-rw-r--r--cmds/installd/commands.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c
index 4aa0dddb75..48bccc3da2 100644
--- a/cmds/installd/commands.c
+++ b/cmds/installd/commands.c
@@ -991,10 +991,9 @@ int dexopt(const char *apk_path, uid_t uid, bool is_public,
bool vm_safe_mode, bool is_patchoat, bool debuggable, const char* oat_dir)
{
struct utimbuf ut;
- struct stat input_stat, dex_stat;
+ struct stat input_stat;
char out_path[PKG_PATH_MAX];
char swap_file_name[PKG_PATH_MAX];
- char *end;
const char *input_file;
char in_odex_path[PKG_PATH_MAX];
int res, input_fd=-1, out_fd=-1, swap_fd=-1;