Skip to content

Commit

Permalink
fix unintialized variable in get_redirections()
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean Teissier authored and Jean Teissier committed Jul 16, 2024
1 parent 6a9afe2 commit 2a69942
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/execution/execution_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ int get_redirections(t_lex_parser *roaming, char *redirection[])
infile = NULL;
outfile = NULL;
append = FALSE;
redir = NULL;
if (roaming->type == TK_PARS_REDIR)
{
redir = roaming->table;
Expand Down
2 changes: 1 addition & 1 deletion src/execution/process_command.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: jteissie <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/10 13:07:11 by jteissie #+# #+# */
/* Updated: 2024/07/15 15:05:10 by jteissie ### ########.fr */
/* Updated: 2024/07/16 11:27:18 by jteissie ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down

0 comments on commit 2a69942

Please sign in to comment.