Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style<clang>: resolve clang tidy traces #104

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/execute/utils/ast_variable.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static struct environment_function environment[] = {
/**
* \brief Initialize the variables hash map.
*/
void init_variables()
void init_variables(void)
{
if (variables == NULL)
{
Expand All @@ -49,7 +49,7 @@ void init_variables()
/**
* \brief Free the variables hash map.
*/
void free_variables()
void free_variables(void)
{
if (variables != NULL)
hash_map_free(variables);
Expand Down
2 changes: 1 addition & 1 deletion src/lexer/lexer.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ char *get_word(struct lexer *lexer, bool *is_diactivated)

struct token parse_input_for_tok(struct lexer *lexer)
{
struct token token;
struct token token = lexer->curr_tok;

// Usefull to diactivate the special meaning of the next character when it's
// a backslash
Expand Down
Loading