Changeset: de0bc0bef535 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=de0bc0bef535
Modified Files:
sql/backends/monet5/datacell/receptor.c
Branch: Aug2011
Log Message:
ensure "m" is only declared and set with_DEBUG_RECEPTOR_;
since it is only used with _DEBUG_RECEPTOR_
diffs (25 lines):
diff --git a/sql/backends/monet5/datacell/receptor.c
b/sql/backends/monet5/datacell/receptor.c
--- a/sql/backends/monet5/datacell/receptor.c
+++ b/sql/backends/monet5/datacell/receptor.c
@@ -409,7 +409,10 @@
size_t j;
str e, he;
str line = "\0";
- int i, n, m = 0;
+ int i, n;
+#ifdef _DEBUG_RECEPTOR_
+ int m = 0;
+#endif
buf[MYBUFSIZ] = 0; /* ensure null terminated string */
if (rc->scenario) {
@@ -488,8 +491,8 @@
buf[n + 1] = 0;
#ifdef _DEBUG_RECEPTOR_
mnstr_printf(RCout, "#Receptor buf [%d]:%s \n", n, buf);
+ m = 0;
#endif
- m = 0;
/* use trivial concurrency measure */
line = buf;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list