From 9934c91099e874b588612a75b54cef80f49e39e7 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Mon, 16 May 2016 00:22:27 +0300 Subject: [PATCH] Remove file I/O remainders from sources --- src/duk_heap_stringtable.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/duk_heap_stringtable.c b/src/duk_heap_stringtable.c index cee5073f..f4b1b3b5 100644 --- a/src/duk_heap_stringtable.c +++ b/src/duk_heap_stringtable.c @@ -843,23 +843,6 @@ DUK_LOCAL duk_hstring *duk__do_intern(duk_heap *heap, const duk_uint8_t *str, du } #endif - /* For manual testing only. */ -#if 0 - { - duk_size_t i; - DUK_PRINTF("INTERN: \""); - for (i = 0; i < blen; i++) { - duk_uint8_t x = str[i]; - if (x >= 0x20 && x <= 0x7e && x != '"' && x != '\\') { - DUK_PRINTF("%c", (int) x); /* char: use int cast */ - } else { - DUK_PRINTF("\\x%02lx", (long) x); - } - } - DUK_PRINTF("\"\n"); - } -#endif - #if defined(DUK_USE_HSTRING_EXTDATA) && defined(DUK_USE_EXTSTR_INTERN_CHECK) extdata = (const duk_uint8_t *) DUK_USE_EXTSTR_INTERN_CHECK(heap->heap_udata, (void *) DUK_LOSE_CONST(str), (duk_size_t) blen); #else