commit | 42f40f5c1ecd2ac7e6a2628a040861e810242571 | [log] [tgz] |
---|---|---|
author | Dees Troy <dees_troy@teamw.in> | Fri Dec 20 05:08:36 2013 +0000 |
committer | Dees Troy <dees_troy@teamw.in> | Fri Dec 20 05:08:36 2013 +0000 |
tree | 668d428181d74da98008ced18f08d669e31b85ec | |
parent | 8d0eb1361e00f335c5f3b55502ed6f9b4525a565 [diff] |
declare dir for non data/media devices Change-Id: I60e2e2a880c3bd5fff3f485f7c8e4ac9ab6fd3bd
diff --git a/twrpTar.cpp b/twrpTar.cpp index 48d529b..e77e1d0 100644 --- a/twrpTar.cpp +++ b/twrpTar.cpp
@@ -714,6 +714,8 @@ 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);