summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-12 19:04:20 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-12 19:04:20 +0200
commitc3fe19946e09c25523e1f0690d18aa3a892fb887 (patch)
treee24ace75059a66bff620069d429d96f3ecba6df8
parentMuting both clang and gcc (diff)
download42-minishell-c3fe19946e09c25523e1f0690d18aa3a892fb887.tar.gz
42-minishell-c3fe19946e09c25523e1f0690d18aa3a892fb887.tar.bz2
42-minishell-c3fe19946e09c25523e1f0690d18aa3a892fb887.tar.xz
42-minishell-c3fe19946e09c25523e1f0690d18aa3a892fb887.tar.zst
42-minishell-c3fe19946e09c25523e1f0690d18aa3a892fb887.zip
Cool
-rw-r--r--src/p_args_len.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/p_args_len.c b/src/p_args_len.c
index f7d3710..e20cde8 100644
--- a/src/p_args_len.c
+++ b/src/p_args_len.c
@@ -32,11 +32,9 @@ size_t p_arg_len(const char word[], const size_t start)
{
t_quote_mode mode;
char *ptr;
- size_t end;
t_bool terminate;
mode = Q_NONE;
- end = start;
ptr = (char*)word + start;
terminate = FALSE;
while (*ptr != C_NUL && terminate == FALSE)