summaryrefslogtreecommitdiff
path: root/src/cxa_demangle.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-04-27 02:21:57 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-04-27 02:21:57 +0000
commitb2cceca1296516dad3fbd93c988bbff1fd71cd7a (patch)
tree2d81cfcd6633c2bdadae92fc3f6cc0abad62d2d3 /src/cxa_demangle.cpp
parent0f111c296c143eb179af0313d5d4108f346b3fba (diff)
libc++abi: remove unused variable
The externC variable was set but unused. This constantly flagged a warning from gcc. Replace it with a comment until such a time that we need it. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@235830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/cxa_demangle.cpp')
-rw-r--r--src/cxa_demangle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cxa_demangle.cpp b/src/cxa_demangle.cpp
index 9a0ed21..3bf3af9 100644
--- a/src/cxa_demangle.cpp
+++ b/src/cxa_demangle.cpp
@@ -1575,10 +1575,9 @@ parse_function_type(const char* first, const char* last, C& db)
const char* t = first+1;
if (t != last)
{
- bool externC = false;
if (*t == 'Y')
{
- externC = true;
+ /* extern "C" */
if (++t == last)
return first;
}