about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--rf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rf.c b/rf.c
index 1f51598..c192bdf 100644
--- a/rf.c
+++ b/rf.c
@@ -357,8 +357,6 @@ int main(int argc, char **argv) {
 		int pattern_count = argc - optind;
 		char **patterns = (char **)calloc(sizeof(char *), pattern_count);
 
-		memset(patterns, '\0', optind);
-
 		while (optind < argc) {
 			patterns[i++] = argv[optind++];