Index: uspace/app/bithenge/transform.c
===================================================================
--- uspace/app/bithenge/transform.c	(revision 0191bd3efb1fc5fd218c8631ca40bac06aa0f3a8)
+++ uspace/app/bithenge/transform.c	(revision a8be91a800aea74c1847e75672d67af5327641c0)
@@ -200,26 +200,4 @@
 	free(self->params);
 	free(self);
-}
-
-/** Copy a scope.
- * @param[out] out The scope to fill in; must have been initialized with @a
- * bithenge_scope_init.
- * @param scope The scope to copy.
- * @return EOK on success or an error code from errno.h. */
-int bithenge_scope_copy(bithenge_scope_t *out, bithenge_scope_t *scope)
-{
-	out->params = malloc(sizeof(*out->params) * scope->num_params);
-	if (!out->params)
-		return ENOMEM;
-	memcpy(out->params, scope->params, sizeof(*out->params) *
-	    scope->num_params);
-	out->num_params = scope->num_params;
-	for (int i = 0; i < out->num_params; i++)
-		bithenge_node_inc_ref(out->params[i]);
-	bithenge_node_dec_ref(out->current_node);
-	out->current_node = scope->current_node;
-	if (out->current_node)
-		bithenge_node_inc_ref(out->current_node);
-	return EOK;
 }
 
Index: uspace/app/bithenge/transform.h
===================================================================
--- uspace/app/bithenge/transform.h	(revision 0191bd3efb1fc5fd218c8631ca40bac06aa0f3a8)
+++ uspace/app/bithenge/transform.h	(revision a8be91a800aea74c1847e75672d67af5327641c0)
@@ -151,5 +151,4 @@
 int bithenge_scope_new(bithenge_scope_t **, bithenge_scope_t *);
 void bithenge_scope_dec_ref(bithenge_scope_t *);
-int bithenge_scope_copy(bithenge_scope_t *, bithenge_scope_t *);
 void bithenge_scope_set_current_node(bithenge_scope_t *, bithenge_node_t *);
 bithenge_node_t *bithenge_scope_get_current_node(bithenge_scope_t *);
