commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 20/43: ext2fs: Fix warning.


From: Samuel Thibault
Subject: [hurd] 20/43: ext2fs: Fix warning.
Date: Mon, 11 Sep 2017 07:10:10 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit bb9dba5a97b5605d12aa68b2978bda329a9f1f31
Author: Justus Winter <address@hidden>
Date:   Thu Aug 10 23:25:41 2017 +0200

    ext2fs: Fix warning.
    
    * ext2fs/xattr.c (ext2_set_xattr): Initialize 'block'.
---
 ext2fs/xattr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext2fs/xattr.c b/ext2fs/xattr.c
index bfc3402..f6ea0f3 100644
--- a/ext2fs/xattr.c
+++ b/ext2fs/xattr.c
@@ -663,7 +663,7 @@ ext2_set_xattr (struct node *np, const char *name, const 
char *value,
   size_t rest;
   error_t err;
   block_t blkno;
-  void *block;
+  void *block = NULL;
   struct ext2_inode *ei;
   struct ext2_xattr_header *header;
   struct ext2_xattr_entry *entry;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]