Merge "Stop using -Wno-unused-variable"
This commit is contained in:
commit
8a73bf6710
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