diff --git a/src/passbook.c b/src/passbook.c
index 072b1ceb496f6a8a25c0a20b62c059b3505bd8d6..64ca94396f7bd66922c812f67660526e2bddd8de 100644
--- a/src/passbook.c
+++ b/src/passbook.c
@@ -103,11 +103,6 @@ static node_t * node_insert(node_t *p, node_t *q){
   node_t ** new = NULL;
   node_t * const start = p;
   while (new == NULL) {
-    assert(q->url != NULL);
-    assert(p->url != NULL);
-    printf("Addr of dodgy node: %08x\n",(unsigned int)q);
-    strlen(q->url);  // SEGV here
-    strlen(p->url);
     int ret = strcmp(q->url,p->url);
     if (ret == 0){
       assert (q->left == NULL && q->right == NULL && "illegal insertion");
@@ -137,7 +132,6 @@ static node_t * node_insert(node_t *p, node_t *q){
 /* returns a pointer to the tree with the node added or with the existing
    node updated if it was  already present */
 static node_t * put(node_t *p, const char *url, const cred_t cred){
-  strlen(url);
   return node_insert(p,node_new(url,cred));
 }