summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-06 13:58:04 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-06 13:58:04 +0000
commit1c8d23796f03c174c45b59f2eb2d4c8ff917b5b0 (patch)
tree162c3cee4857b036adbeddb65f935de013783d15
parentdbb63aeea647edfeecd3e9f2d21ebbf715719d42 (diff)
Fix wrong comment
`ruby_strdup` does not return NULL. [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--mjit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mjit.c b/mjit.c
index f9a8949d03..0bb50aecd9 100644
--- a/mjit.c
+++ b/mjit.c
@@ -220,8 +220,7 @@ real_ms_time(void)
return tv.tv_usec / 1000.0 + tv.tv_sec * 1000.0;
}
-/* Make and return copy of STR in the heap. Return NULL in case of a
- failure. */
+/* Make and return copy of STR in the heap. */
#define get_string ruby_strdup
static void