diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2015-04-02 16:59:10 -0700 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2015-04-02 17:03:11 -0700 |
commit | 26ff93c1a783d02c177a47f0a80249070fe43682 (patch) | |
tree | 93ead2fd439f52e29b06fe45c57304af8e484b83 /cmds | |
parent | 4eb88f883911eb1208e85a9c176481176242af13 (diff) | |
download | frameworks_native-26ff93c1a783d02c177a47f0a80249070fe43682.zip frameworks_native-26ff93c1a783d02c177a47f0a80249070fe43682.tar.gz frameworks_native-26ff93c1a783d02c177a47f0a80249070fe43682.tar.bz2 |
Fix errors caused by unused variables
Change-Id: Ie52ae0e9a642504ee7b78c6bc54b61549cfb0342
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/installd/commands.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c index 4aa0ddd..48bccc3 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; |