aboutsummaryrefslogtreecommitdiffstats
path: root/regcomp.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-18 15:41:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-18 15:41:59 +0000
commit0ffc74dece854ae8baa7a42342cab0fe29df04e9 (patch)
tree421ebd616870f52dacdffebb4bcdf818b2e94a78 /regcomp.c
parentca5a0db67bf1389588a8495a5954162bd3346df1 (diff)
downloadruby-0ffc74dece854ae8baa7a42342cab0fe29df04e9.tar.gz
* regcomp.c, regexec.c: fix-up warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/regcomp.c b/regcomp.c
index afb8e1cdc4..c12471ca8c 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -50,6 +50,7 @@ onig_set_default_case_fold_flag(OnigCaseFoldType case_fold_flag)
static unsigned char PadBuf[WORD_ALIGNMENT_SIZE];
#endif
+#if 0
static UChar*
str_dup(UChar* s, UChar* end)
{
@@ -64,6 +65,7 @@ str_dup(UChar* s, UChar* end)
}
else return NULL;
}
+#endif
static void
swap_node(Node* a, Node* b)