aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnetfs/dir-lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/dir-lookup.c b/libnetfs/dir-lookup.c
index 7ca526b7..8b8cd6ec 100644
--- a/libnetfs/dir-lookup.c
+++ b/libnetfs/dir-lookup.c
@@ -49,7 +49,7 @@ netfs_S_dir_lookup (struct protid *diruser,
char *nextname;
char *relpath;
error_t error;
- struct protid *newpi;
+ struct protid *newpi = NULL;
struct iouser *user;
if (!diruser)