Changeset: d54ecbbce29a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d54ecbbce29a
Modified Files:
        monetdb5/modules/atoms/str.c
Branch: strimps_v3
Log Message:

Remove unused code


diffs (44 lines):

diff --git a/monetdb5/modules/atoms/str.c b/monetdb5/modules/atoms/str.c
--- a/monetdb5/modules/atoms/str.c
+++ b/monetdb5/modules/atoms/str.c
@@ -2105,40 +2105,6 @@ strbat_reverse(BAT *b)
        return bn;
 }
 
-/* static BAT * */
-/* strbat_lower(BAT *b) */
-/* { */
-/*     BAT *bn = NULL; */
-/*     BATiter bi; */
-/*     BUN p, q; */
-
-/*     assert(b->ttype == TYPE_str); */
-
-/*     bn = COLnew(b->hseqbase, TYPE_str, BATcount(b), TRANSIENT); */
-/*     if (bn == NULL) */
-/*             return NULL; */
-
-/*     bi = bat_iterator(b); */
-/*     BATloop(b, p, q) { */
-/*             const char *vb = BUNtail(bi, p); */
-/*             char *vb_low = NULL; */
-/*             if (STRlower(&vb_low, &vb)) { */
-/*                     bat_iterator_end(&bi); */
-/*                     BBPreclaim(bn); */
-/*                     return NULL; */
-/*             } */
-/*             if (BUNappend(bn, vb_low, false) != GDK_SUCCEED) { */
-/*                     GDKfree(vb_low); */
-/*                     bat_iterator_end(&bi); */
-/*                     BBPreclaim(bn); */
-/*                     return NULL; */
-/*             } */
-/*             GDKfree(vb_low); */
-/*     } */
-/*     bat_iterator_end(&bi); */
-/*     return bn; */
-/* } */
-
 #define NESTED_LOOP_STRJOIN(STR_CMP)                                           
                        \
        do {                                                                    
                                                        \
                canditer_reset(lci);                                            
                                        \
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to