Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Libor Bukata
CMake
Commits
1e4e2f99
Commit
1e4e2f99
authored
May 26, 2017
by
Pavel Solodovnikov
Browse files
Remove unused variables
parent
25486156
Changes
3
Show whitespace changes
Inline
Side-by-side
Source/cmExtraCodeLiteGenerator.cxx
View file @
1e4e2f99
...
...
@@ -600,9 +600,6 @@ void cmExtraCodeLiteGenerator::CreateNewProjectFile(
// which may have an acompanying header, one for all other files
std
::
string
projectType
;
std
::
vector
<
std
::
string
>
headerExts
=
this
->
GlobalGenerator
->
GetCMakeInstance
()
->
GetHeaderExtensions
();
std
::
map
<
std
::
string
,
cmSourceFile
*>
cFiles
;
std
::
set
<
std
::
string
>
otherFiles
;
...
...
Source/cmOSXBundleGenerator.cxx
View file @
1e4e2f99
...
...
@@ -48,8 +48,6 @@ void cmOSXBundleGenerator::CreateAppBundle(const std::string& targetName,
cmSystemTools
::
MakeDirectory
(
out
.
c_str
());
this
->
Makefile
->
AddCMakeOutputFile
(
out
);
std
::
string
newoutpath
=
out
;
// Configure the Info.plist file. Note that it needs the executable name
// to be set.
std
::
string
plist
=
outpath
;
...
...
@@ -60,7 +58,7 @@ void cmOSXBundleGenerator::CreateAppBundle(const std::string& targetName,
this
->
LocalGenerator
->
GenerateAppleInfoPList
(
this
->
GT
,
targetName
,
plist
.
c_str
());
this
->
Makefile
->
AddCMakeOutputFile
(
plist
);
outpath
=
newoutpath
;
outpath
=
out
;
}
void
cmOSXBundleGenerator
::
CreateFramework
(
const
std
::
string
&
targetName
,
...
...
Source/cmSystemTools.cxx
View file @
1e4e2f99
...
...
@@ -196,7 +196,6 @@ void cmSystemTools::ExpandRegistryValues(std::string& source,
while
(
regEntry
.
find
(
source
))
{
// the arguments are the second match
std
::
string
key
=
regEntry
.
match
(
1
);
std
::
string
val
;
std
::
string
reg
=
"["
;
reg
+=
key
+
"]"
;
cmSystemTools
::
ReplaceString
(
source
,
reg
.
c_str
(),
"/registry"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment