summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2015-12-29 22:46:44 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-12-29 23:02:35 +0100
commit4c0d8ebb6494af95f125e1e829dfb7453b7ad03e (patch)
treec3cb91ba9488b7805a6e866a56dba3905ba8feb5
parentfb6b3f972b93358390871f17f2a93423daca7aa7 (diff)
fix compiler warnings in hurd/libnetfs
-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)