Changeset: a5946c7a4ae7 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a5946c7a4ae7
Modified Files:
monetdb5/modules/kernel/batifthen.c
Branch: default
Log Message:
batifthen.c: CMDifThen(): added missing "default:" in switch statement
found by optimized compilation warning about uninitialized use of variable "bn"
diffs (13 lines):
diff --git a/monetdb5/modules/kernel/batifthen.c
b/monetdb5/modules/kernel/batifthen.c
--- a/monetdb5/modules/kernel/batifthen.c
+++ b/monetdb5/modules/kernel/batifthen.c
@@ -174,7 +174,8 @@ CMDifThen(int *ret, int *bid, int *tid)
}
}
break;
- throw(MAL,"batcalc.ifthen",ILLEGAL_ARGUMENT);
+ default:
+ throw(MAL,"batcalc.ifthen",ILLEGAL_ARGUMENT);
}
BATaccessEnd(tb,USE_TAIL, MMAP_SEQUENTIAL);
BATaccessEnd(b,USE_HEAD, MMAP_SEQUENTIAL);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list