Changeset: 195d55d3d91b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=195d55d3d91b
Modified Files:
common/utils/msabaoth.c
Branch: Dec2011
Log Message:
registerStop: make sure non-void function does properly return
This fixes compilation (at least with gcc) by preventing
"
.../MonetDB/common/utils/msabaoth.c: In function 'msab_registerStop':
.../MonetDB/common/utils/msabaoth.c:447:1: error: control reaches end of
non-void function
"
diffs (11 lines):
diff --git a/common/utils/msabaoth.c b/common/utils/msabaoth.c
--- a/common/utils/msabaoth.c
+++ b/common/utils/msabaoth.c
@@ -444,6 +444,7 @@ msab_registerStop(void)
if ((tmp = getDBPath(&path, PATHLENGTH, _sabaoth_internal_uuid)) !=
NULL)
return(tmp);
unlink(path);
+ return(NULL);
}
/**
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list