Stop using -Wno-unused-variable
This is a useful warning, so remove two unused variables and stop disabling this warning. Change-Id: I3efe0b300ea139ea11d645dec6fb2613acc0e51b
This commit is contained in:
parent
8bf0d914df
commit
0d12fd668d
3 changed files with 0 additions and 4 deletions
|
@ -11,7 +11,6 @@ cc_defaults {
|
|||
"-Wextra",
|
||||
"-Wno-missing-field-initializers",
|
||||
"-Wno-unused-parameter",
|
||||
"-Wno-unused-variable",
|
||||
],
|
||||
|
||||
clang: true,
|
||||
|
|
|
@ -93,7 +93,6 @@ using android::vold::UnmountTree;
|
|||
using android::vold::VoldNativeService;
|
||||
using android::vold::VolumeBase;
|
||||
|
||||
static const char* kPathUserMount = "/mnt/user";
|
||||
static const char* kPathVirtualDisk = "/data/misc/vold/virtual_disk";
|
||||
|
||||
static const char* kPropVirtualDisk = "persist.sys.virtual_disk";
|
||||
|
|
|
@ -66,8 +66,6 @@ status_t Check(const std::string& source, const std::string& target) {
|
|||
|
||||
const char* c_source = source.c_str();
|
||||
const char* c_target = target.c_str();
|
||||
|
||||
int status;
|
||||
int ret;
|
||||
long tmpmnt_flags = MS_NOATIME | MS_NOEXEC | MS_NOSUID;
|
||||
char* tmpmnt_opts = (char*)"nomblk_io_submit,errors=remount-ro";
|
||||
|
|
Loading…
Reference in a new issue