From 4e8e93b6661f4de86c295b76fff82b8815266780 Mon Sep 17 00:00:00 2001 From: Nanik Tolaram Date: Sun, 8 Feb 2015 22:31:14 +1100 Subject: Remove dead/unused code and realign some of the comments to make it more cleaner and easier to read Change-Id: If536d482c0ed645368084e76d8ec060f05d89137 Signed-off-by: Nanik Tolaram --- minzip/DirUtil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'minzip/DirUtil.c') diff --git a/minzip/DirUtil.c b/minzip/DirUtil.c index fe2c880ac..97cb2e0ee 100644 --- a/minzip/DirUtil.c +++ b/minzip/DirUtil.c @@ -85,7 +85,7 @@ dirCreateHierarchy(const char *path, int mode, c--; } if (c == cpath) { -//xxx test this path + //xxx test this path /* No directory component. Act like the path was empty. */ errno = ENOENT; @@ -206,7 +206,7 @@ dirUnlinkHierarchy(const char *path) /* recurse over components */ errno = 0; while ((de = readdir(dir)) != NULL) { -//TODO: don't blow the stack + //TODO: don't blow the stack char dn[PATH_MAX]; if (!strcmp(de->d_name, "..") || !strcmp(de->d_name, ".")) { continue; -- cgit v1.2.3