From: Nicholas Nethercote Date: Tue, 21 Jun 2005 04:26:24 +0000 (+0000) Subject: wibble X-Git-Tag: svn/VALGRIND_3_0_0~334 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f24d5fa167d70e049c18968675261cc3ce6d0c95;p=thirdparty%2Fvalgrind.git wibble git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3984 --- diff --git a/coregrind/m_libcassert.c b/coregrind/m_libcassert.c index 91e99b66f9..20d359ae94 100644 --- a/coregrind/m_libcassert.c +++ b/coregrind/m_libcassert.c @@ -136,7 +136,6 @@ void VG_(assert_fail) ( Bool isCore, const Char* expr, const Char* file, { va_list vargs; Char buf[256]; - Char* bufptr = buf; Char* component; Char* bugs_to; @@ -146,7 +145,7 @@ void VG_(assert_fail) ( Bool isCore, const Char* expr, const Char* file, entered = True; va_start(vargs, format); - VG_(vsprintf) ( bufptr, format, vargs ); + VG_(vsprintf) ( buf, format, vargs ); va_end(vargs); if (isCore) {