syncqt: prune dead $quoted_basedir variable
amends f5a5272bc7
.
Change-Id: I6bec21cb87f5e69d659836bc2b2a1e68af70a75c
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
5e98873cd3
commit
65b004204e
@ -77,7 +77,6 @@ sub normalizePath {
|
||||
our $out_basedir = getcwd();
|
||||
normalizePath(\$out_basedir);
|
||||
our $basedir;
|
||||
our $quoted_basedir;
|
||||
|
||||
# Make sure we use Windows line endings for chomp and friends on Windows.
|
||||
$INPUT_RECORD_SEPARATOR = "\r\n" if ($^O eq "msys");
|
||||
@ -728,7 +727,6 @@ $basedir = locateSyncProfile($out_basedir);
|
||||
if ($basedir) {
|
||||
$basedir = dirname($basedir) ;
|
||||
normalizePath(\$basedir);
|
||||
$quoted_basedir = "\Q$basedir";
|
||||
}
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
@ -796,7 +794,6 @@ while ( @ARGV ) {
|
||||
die "Could not find a sync.profile for '$arg'\n" if (!$basedir);
|
||||
$basedir = dirname($basedir);
|
||||
normalizePath(\$basedir);
|
||||
$quoted_basedir = "\Q$basedir";
|
||||
$var = "ignore";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user