From: Florian Krohm Date: Fri, 27 Jul 2012 20:53:47 +0000 (+0000) Subject: Fix compiler warning. X-Git-Tag: svn/VALGRIND_3_8_0~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e3bd988bede1139f334e0c9d0bb631922b80501;p=thirdparty%2Fvalgrind.git Fix compiler warning. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12792 --- diff --git a/coregrind/m_errormgr.c b/coregrind/m_errormgr.c index 22f9a6e0df..6a3e7179ce 100644 --- a/coregrind/m_errormgr.c +++ b/coregrind/m_errormgr.c @@ -1108,7 +1108,6 @@ Bool VG_(get_line) ( Int fd, Char** bufpp, SizeT* nBufp, Int* lineno ) /* True if s contains no wildcard (?, *) characters. */ static Bool is_simple_str (Char *s) { - int i; while (*s) { if (*s == '?' || *s == '*') return False;