diff options
author | Justus Winter <justus@gnupg.org> | 2016-05-22 00:43:19 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-05-22 00:43:19 +0200 |
commit | 0ab3825f250486453892e3e18a702a44538bff6d (patch) | |
tree | 8be395feab09b3b628b5dc543c417071d57d9679 | |
parent | 04cfa521cd6f38d7cd735ead5b7978390664042e (diff) |
libdiskfs: fix error handling
* libdiskfs/dir-rmdir.c (diskfs_S_dir_rmdir): Initialize 'np'.
-rw-r--r-- | libdiskfs/dir-rmdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-rmdir.c b/libdiskfs/dir-rmdir.c index 83ec37b3..8a29979f 100644 --- a/libdiskfs/dir-rmdir.c +++ b/libdiskfs/dir-rmdir.c @@ -25,7 +25,7 @@ diskfs_S_dir_rmdir (struct protid *dircred, char *name) { struct node *dnp; - struct node *np; + struct node *np = NULL; struct dirstat *ds = alloca (diskfs_dirstat_size); error_t error; |