Changeset: 9bfe2441d4a3 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9bfe2441d4a3
Modified Files:
        sql/storage/bat/bat_logger.c
Branch: Oct2014
Log Message:

Remove unused code.


diffs (35 lines):

diff --git a/sql/storage/bat/bat_logger.c b/sql/storage/bat/bat_logger.c
--- a/sql/storage/bat/bat_logger.c
+++ b/sql/storage/bat/bat_logger.c
@@ -47,31 +47,6 @@ N( char *buf, char *pre, char *schema, c
        return buf;
 }
 
-#ifndef HAVE_STRCASESTR
-static const char *
-strcasestr(const char *haystack, const char *needle)
-{
-       const char *p, *np = 0, *startn = 0;
-
-       for (p = haystack; *p; p++) {
-               if (np) {
-                       if (toupper(*p) == toupper(*np)) {
-                               if (!*++np)
-                                       return startn;
-                       } else
-                               np = 0;
-               } else if (toupper(*p) == toupper(*needle)) {
-                       np = needle + 1;
-                       startn = p;
-                       if (!*np)
-                               return startn;
-               }
-       }
-
-       return 0;
-}
-#endif
-
 static void 
 bl_postversion( void *lg) 
 {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to