[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fix compiler warnings in hurd/libnetfs
From: |
Flavio Cruz |
Subject: |
[PATCH] fix compiler warnings in hurd/libnetfs |
Date: |
Tue, 29 Dec 2015 22:46:44 +0100 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
---
libnetfs: Fix compiler warning.
* libnetfs/dir-lookup.c (netfs_S_dir_lookup): Initialize newpi.
diff --git a/libnetfs/dir-lookup.c b/libnetfs/dir-lookup.c
index 7ca526b..8b8cd6e 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)
- [PATCH] fix compiler warnings in hurd/libnetfs,
Flavio Cruz <=