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

[tyndur-devel] [PATCH libext2 1/8] etool: Fehler in ls nicht verschlucken



Aufgefallen durch Compilerwarnung über nicht benutzte Variable.

Signed-off-by: Kevin Wolf <kevin@xxxxxxxxxx>
---
 etool/ls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etool/ls.c b/etool/ls.c
index 04e29de..a287558 100644
--- a/etool/ls.c
+++ b/etool/ls.c
@@ -71,7 +71,7 @@ static int handle_dirent(ext2_dirent_t* dirent, void* prv)
 
 end:
     free(name);
-    return 0;
+    return result;
 }
 
 static void ls(const char* path)
-- 
1.8.1.4