changeset 83709:3d607e308291 directappend

Fix unused parameter error/warning
author Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
date Tue, 23 Nov 2021 10:15:40 +0100
parents 090dbb58aec7
children de81749cd7a3
files sql/backends/monet5/sql_result.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/sql/backends/monet5/sql_result.c
+++ b/sql/backends/monet5/sql_result.c
@@ -498,8 +498,8 @@ bat_max_length(hge, hge)
 		}																\
 		if (*s)															\
 			return NULL;												\
-		assert(*dst_len >= sizeof(X));									\
-		r = *dst;													\
+		assert(*dst_len >= sizeof(X));(void)dst_len;					\
+		r = *dst;														\
 		if (neg)														\
 			*r = -res;													\
 		else															\
@@ -538,7 +538,7 @@ sec_frstr(Column *c, int type, void **ds
 	lng *r;
 	lng res = 0;
 
-	assert(*dst_len >= sizeof(lng));
+	assert(*dst_len >= sizeof(lng));(void)dst_len;
 
 	(void) c;
 	(void) type;