Index: uspace/srv/fs/tmpfs/tmpfs_ops.c
===================================================================
--- uspace/srv/fs/tmpfs/tmpfs_ops.c	(revision 343dc9e3aefbe27389e36a69d1d7829327a7e06c)
+++ uspace/srv/fs/tmpfs/tmpfs_ops.c	(revision 75c426b4f00b6c7154cd6d7a5c14dcbcf7d0fde9)
@@ -392,5 +392,5 @@
 	} else {
 		int i;
-		tmpfs_dentry_t *cur = dentry->child;
+		tmpfs_dentry_t *cur;
 		
 		assert(dentry->type == TMPFS_DIRECTORY);
