From 4c269e2feb230d4380c0b3cd72da517bd2222023 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 16 Nov 2009 22:34:32 +0000 Subject: Fix unused variables warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88977 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/StringRef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/ADT/StringRef.h') 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. -- cgit v1.1