Module Name:    src
Committed By:   joerg
Date:           Fri Apr 12 18:11:41 UTC 2013

Modified Files:
        src/external/bsd/libevent/dist/test: tinytest_macros.h

Log Message:
Remove potentially extra consts.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    src/external/bsd/libevent/dist/test/tinytest_macros.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/libevent/dist/test/tinytest_macros.h
diff -u src/external/bsd/libevent/dist/test/tinytest_macros.h:1.2 src/external/bsd/libevent/dist/test/tinytest_macros.h:1.3
--- src/external/bsd/libevent/dist/test/tinytest_macros.h:1.2	Thu Apr 11 16:56:42 2013
+++ src/external/bsd/libevent/dist/test/tinytest_macros.h	Fri Apr 12 18:11:40 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: tinytest_macros.h,v 1.2 2013/04/11 16:56:42 christos Exp $	*/
+/*	$NetBSD: tinytest_macros.h,v 1.3 2013/04/12 18:11:40 joerg Exp $	*/
 /* tinytest_macros.h -- Copyright 2009-2012 Nick Mathewson
  *
  * Redistribution and use in source and binary forms, with or without
@@ -114,8 +114,8 @@
 #define tt_assert_test_fmt_type(a,b,str_test,type,test,printf_type,printf_fmt, \
     setup_block,cleanup_block,die_on_fail)				\
 	TT_STMT_BEGIN							\
-	const type _val1 = (const type)(a);				\
-	const type _val2 = (const type)(b);				\
+	type _val1 = (type)(a);						\
+	type _val2 = (type)(b);						\
 	int _tt_status = (test);					\
 	if (!_tt_status || _tinytest_get_verbosity()>1)	{		\
 		printf_type _print;					\

Reply via email to