mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 12:19:53 +00:00
Silence gcc -Wpedantic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5cbd5a13a4
commit
401ca95387
@ -50,7 +50,7 @@ int main(int argc, const char **argv) {
|
||||
func = gcov_main;
|
||||
|
||||
if (func) {
|
||||
std::string Invocation(std::string(argv[0]) + " " + argv[1]);
|
||||
std::string Invocation(std::string() + argv[0] + " " + argv[1]);
|
||||
argv[1] = Invocation.c_str();
|
||||
return func(argc - 1, argv + 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user