r719 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Mon Aug 7 17:08:35 CEST 2006


Author: des
Date: 2006-08-07 17:08:35 +0200 (Mon, 07 Aug 2006)
New Revision: 719

Modified:
   trunk/varnish-cache/bin/varnishd/shmlog.c
Log:
Remove redundant definition of __assert().

Modified: trunk/varnish-cache/bin/varnishd/shmlog.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/shmlog.c	2006-08-07 15:00:55 UTC (rev 718)
+++ trunk/varnish-cache/bin/varnishd/shmlog.c	2006-08-07 15:08:35 UTC (rev 719)
@@ -188,17 +188,3 @@
 	 */
 	VSL_Init();
 }
-
-/*--------------------------------------------------------------------*/
-
-void
-__assert(const char *func, const char *file, int line, const char *failedexpr)
-{
-	(void)fprintf(stderr,
-	     "\r\nAssertion failed: (%s)\n"
-	     "    function %s, file %s, line %d.\n"
-	     "    errno %d = \"%s\"\n", 
-	     failedexpr, func, file, line, errno, strerror(errno));
-	abort();
-	/* NOTREACHED */
-}




More information about the varnish-commit mailing list