Changeset: e80842cf9141 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e80842cf9141
Modified Files:
        monetdb5/modules/kernel/mmath.c
Branch: Nov2019
Log Message:

Unused variable with --enable-static-analysis.


diffs (11 lines):

diff --git a/monetdb5/modules/kernel/mmath.c b/monetdb5/modules/kernel/mmath.c
--- a/monetdb5/modules/kernel/mmath.c
+++ b/monetdb5/modules/kernel/mmath.c
@@ -291,6 +291,7 @@ str
 MATHsqlrandint(int *res, const int *seed)
 {
 #ifdef STATIC_CODE_ANALYSIS
+       (void) seed;
        *res = 0;
 #else
        MT_lock_set(&mmath_rse_lock);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to