aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-08-07 22:13:42 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-08-07 22:13:42 +0530
commit5fa33bd80324f76e840df9f66a542ece9935047e (patch)
treed309e4c406b2ad6b94e08fdd2f794d1ef2a941cb /src
parent8ba1264327b9ab0e0eca803f3c99b8bdae87a2fa (diff)
engine: eachdo: remove redundant strcpy
Diffstat (limited to 'src')
-rw-r--r--src/engine/eachdo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/engine/eachdo.c b/src/engine/eachdo.c
index 8076cde..4a529ba 100644
--- a/src/engine/eachdo.c
+++ b/src/engine/eachdo.c
@@ -105,8 +105,6 @@ handle_eachdo(char **buffer, key_match_t *match, directive_t *directive)
list_t *directives = lex(operands->content);
char *content = calloc(1, sizeof(char));
- strcpy(content, "");
-
fetch_files(operands, directives, &content);
char *temp_buffer = strdup(*buffer);