Changeset: f0cff70080f0 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f0cff70080f0 Modified Files: sql/backends/monet5/vaults/lidar/lidar.c sql/backends/monet5/vaults/lidar/lidar.h Branch: data-vaults Log Message:
Remove unused function diffs (52 lines): diff --git a/sql/backends/monet5/vaults/lidar/lidar.c b/sql/backends/monet5/vaults/lidar/lidar.c --- a/sql/backends/monet5/vaults/lidar/lidar.c +++ b/sql/backends/monet5/vaults/lidar/lidar.c @@ -420,37 +420,6 @@ LIDARexportTable(Client cntxt, MalBlkPtr return MAL_SUCCEED; } -str -LIDARtest(int *res, str *fname) -{ - str msg = MAL_SUCCEED; - LASReaderH reader; - LASHeaderH header; - - LASError_Reset(); - MT_lock_set(&mt_lidar_lock); - reader=LASReader_Create(*fname); - MT_lock_unset(&mt_lidar_lock); - - if (LASError_GetErrorCount() != 0) { - msg = createException(MAL, "lidar.test", "Error accessing LIDAR file %s (%s)", - *fname, LASError_GetLastErrorMsg()); - } else { - header=LASReader_GetHeader(reader); - *res=LASHeader_GetPointRecordsCount(header); - MT_lock_set(&mt_lidar_lock); - if (header != NULL) LASHeader_Destroy(header); - if (reader != NULL) LASReader_Destroy(reader); - MT_lock_unset(&mt_lidar_lock); - if (LASError_GetErrorCount() != 0) { - msg = createException(MAL, "lidar.test", "Error accessing LIDAR file %s (%s)", - *fname, LASError_GetLastErrorMsg()); - } - } - - return msg; -} - static str * LIDARopenPath(str fname, int *len) { diff --git a/sql/backends/monet5/vaults/lidar/lidar.h b/sql/backends/monet5/vaults/lidar/lidar.h --- a/sql/backends/monet5/vaults/lidar/lidar.h +++ b/sql/backends/monet5/vaults/lidar/lidar.h @@ -22,7 +22,6 @@ #define lidar_export extern #endif -lidar_export str LIDARtest(int *res, str *fname); lidar_export str LIDARattach(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); lidar_export str LIDARloadTable(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); lidar_export str LIDARexportTable(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list