aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/StringRef.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-11-16 22:34:32 +0000
committerEric Christopher <echristo@apple.com>2009-11-16 22:34:32 +0000
commit4c269e2feb230d4380c0b3cd72da517bd2222023 (patch)
tree5eed80d6eee9e4e8966d66a8dc171e4ba76e43bf /include/llvm/ADT/StringRef.h
parent600c04369775b014073ec295545ff9dd2a7f2fed (diff)
downloadexternal_llvm-4c269e2feb230d4380c0b3cd72da517bd2222023.zip
external_llvm-4c269e2feb230d4380c0b3cd72da517bd2222023.tar.gz
external_llvm-4c269e2feb230d4380c0b3cd72da517bd2222023.tar.bz2
Fix unused variables warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/StringRef.h')
-rw-r--r--include/llvm/ADT/StringRef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/StringRef.h b/include/llvm/ADT/StringRef.h
index b6486e7..ed651bf 100644
--- a/include/llvm/ADT/StringRef.h
+++ b/include/llvm/ADT/StringRef.h
@@ -198,7 +198,7 @@ namespace llvm {
/// find_first_of - Find the first character in the string that is \arg C,
/// or npos if not found. Same as find.
- size_type find_first_of(char C, size_t From = 0) const { return find(C); }
+ size_type find_first_of(char C, size_t = 0) const { return find(C); }
/// find_first_of - Find the first character in the string that is in \arg
/// Chars, or npos if not found.