Commit 16990d70 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

fs: Device: buff is only used on non-android builds

parent 7362bae5
......@@ -161,10 +161,10 @@ Device::MountpointMap Device::listMountpoints()
static const std::vector<std::string> allowedFsType = { "vfat", "exfat", "sdcardfs", "fuse",
"ntfs", "fat32", "ext3", "ext4", "esdfs" };
MountpointMap res;
char buff[512];
errno = 0;
mntent* s;
#ifndef __ANDROID__
char buff[512];
mntent smnt;
FILE* f = setmntent("/etc/mtab", "r");
if ( f == nullptr )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment