git » libfiu » commit c18d9ff

libfiu: Simplify variable initialization

author Alberto Bertogli
2010-10-11 02:22:35 UTC
committer Alberto Bertogli
2010-10-11 02:22:35 UTC
parent e87390e79949133ad2abfa90e61ac18fe470e996

libfiu: Simplify variable initialization

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

libfiu/fiu.c +1 -3

diff --git a/libfiu/fiu.c b/libfiu/fiu.c
index 2a01c91..8a849dd 100644
--- a/libfiu/fiu.c
+++ b/libfiu/fiu.c
@@ -365,11 +365,9 @@ static int insert_new_fail(const char *name, int failnum, void *failinfo,
 		external_cb_t *external_cb)
 {
 	struct pf_info *pf;
-	int rv;
+	int rv = -1;
 	size_t prev_len;
 
-	rv = -1;
-
 	rec_count++;
 
 	/* See if it's already there and update the data if so, or if we have