summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorFyodor Kupolov <fkupolov@google.com>2015-04-03 14:52:38 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-03 14:52:38 +0000
commitb3fb52f7d80434001534b9680a45d20e93b598dd (patch)
tree82c970c39941c2bd234c7990ed7fd32486c86f5b /cmds
parent35eefd2fa70c5100f0a543686b4814ecff787985 (diff)
parentbce7799786ae712bba9b58f1f99cd12ee05b5cf3 (diff)
downloadframeworks_native-b3fb52f7d80434001534b9680a45d20e93b598dd.zip
frameworks_native-b3fb52f7d80434001534b9680a45d20e93b598dd.tar.gz
frameworks_native-b3fb52f7d80434001534b9680a45d20e93b598dd.tar.bz2
am bce77997: am ebca76c2: am 9cad1985: Merge "Fix errors caused by unused variables"
* commit 'bce7799786ae712bba9b58f1f99cd12ee05b5cf3': Fix errors caused by unused variables
Diffstat (limited to 'cmds')
-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 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;