Skip to contentSkip to conversation

erofs-utils: dump: remove duplicate file type

PATCH Applied Weizhao Ouyang 2 participants 2 messages Nov 20, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 erofs-utils: dump: remove duplicate file type

Remove duplicate ".txt" file type distribution.

---
 dump/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
dump/main.c +1 -1
index f2a09b6..93dce8b 100644
@@ -37,7 +37,7 @@ static const char header_format[] = "%-16s %11s %16s |%-50s|\n";
 static char *file_types[] = {
 	".txt", ".so", ".xml", ".apk",
 	".odex", ".vdex", ".oat", ".rc",
-	".otf", ".txt", "others",
+	".otf", "others",
 };
 #define OTHERFILETYPE	ARRAY_SIZE(file_types)
 /* (1 << FILE_MAX_SIZE_BITS)KB */
Signature · 1 line
2.37.2
Applied
#1 lore raw
Quoted 3 lines · Weizhao Ouyang

Remove duplicate ".txt" file type distribution.

Thanks, applied.

Quoted 20 lines
---
 dump/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
dump/main.c +1 -1
index f2a09b6..93dce8b 100644
@@ -37,7 +37,7 @@ static const char header_format[] = "%-16s %11s %16s |%-50s|\n";
 static char *file_types[] = {
 	".txt", ".so", ".xml", ".apk",
 	".odex", ".vdex", ".oat", ".rc",
-	".otf", ".txt", "others",
+	".otf", "others",
 };
 #define OTHERFILETYPE	ARRAY_SIZE(file_types)
 /* (1 << FILE_MAX_SIZE_BITS)KB */
Signature · 1 line
2.37.2