summaryrefslogtreecommitdiffstats
path: root/twrpTar.cpp
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2013-12-20 06:08:36 +0100
committerDees Troy <dees_troy@teamw.in>2013-12-20 06:08:36 +0100
commit42f40f5c1ecd2ac7e6a2628a040861e810242571 (patch)
tree668d428181d74da98008ced18f08d669e31b85ec /twrpTar.cpp
parentImprove SELinux support check (diff)
downloadandroid_bootable_recovery-42f40f5c1ecd2ac7e6a2628a040861e810242571.tar
android_bootable_recovery-42f40f5c1ecd2ac7e6a2628a040861e810242571.tar.gz
android_bootable_recovery-42f40f5c1ecd2ac7e6a2628a040861e810242571.tar.bz2
android_bootable_recovery-42f40f5c1ecd2ac7e6a2628a040861e810242571.tar.lz
android_bootable_recovery-42f40f5c1ecd2ac7e6a2628a040861e810242571.tar.xz
android_bootable_recovery-42f40f5c1ecd2ac7e6a2628a040861e810242571.tar.zst
android_bootable_recovery-42f40f5c1ecd2ac7e6a2628a040861e810242571.zip
Diffstat (limited to 'twrpTar.cpp')
-rw-r--r--twrpTar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/twrpTar.cpp b/twrpTar.cpp
index 48d529b63..e77e1d059 100644
--- a/twrpTar.cpp
+++ b/twrpTar.cpp
@@ -714,6 +714,8 @@ int twrpTar::tarDirs(bool include_root) {
string dir(tardir + "/" + de->d_name);
skip_dir = du.check_skip_dirs(dir);
if (skip_dir) continue;
+#else
+ string dir;
#endif
dir = de->d_name;
skip_dir = du.check_skip_dirs(dir);