summaryrefslogtreecommitdiff
path: root/cord/cordbscs.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-07-26 13:20:24 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 13:20:24 +0200
commitc521d2cf164f9d7e1fa8be9c0b21d223e265fa64 (patch)
tree82fbd7e60e6be39fbabd946717cf065a698cd038 /cord/cordbscs.c
parent7d3768dbd2a1cd4d5c14f773f23aec43bc0651a5 (diff)
gc4.13 tarball importgc4_13
Diffstat (limited to 'cord/cordbscs.c')
-rw-r--r--cord/cordbscs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cord/cordbscs.c b/cord/cordbscs.c
index b75f581..9fc894d 100644
--- a/cord/cordbscs.c
+++ b/cord/cordbscs.c
@@ -361,7 +361,6 @@ CORD CORD_substr_checked(CORD x, size_t i, size_t n)
return(CORD_substr_closure(x, i, n, CORD_index_access_fn));
} else {
register char * result = GC_MALLOC_ATOMIC(n+1);
- register char * p = result;
if (result == 0) OUT_OF_MEMORY;
strncpy(result, x+i, n);