Skip to content

Commit

Permalink
feat(build): removed warning in internal header
Browse files Browse the repository at this point in the history
  • Loading branch information
Lqvrent committed Oct 31, 2022
1 parent a92c066 commit 7ff86b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions includes/lolo/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@
#define NULL (void *)0
#endif /* !NULL */

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-variable"
static const char *__errors[__ERRORS_COUNT] = {
"Success"
};
#pragma GCC diagnostic pop

/**
* @brief Get/set the error number in order to get the error message.
Expand Down

0 comments on commit 7ff86b5

Please sign in to comment.