]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
wibble
authorNicholas Nethercote <njn@valgrind.org>
Tue, 21 Jun 2005 04:26:24 +0000 (04:26 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Tue, 21 Jun 2005 04:26:24 +0000 (04:26 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3984

coregrind/m_libcassert.c

index 91e99b66f9d7b8b10b4601021093d25eb0384acf..20d359ae9476c403fea8d0025a81c7d5549a0cf0 100644 (file)
@@ -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) {