Skip to content

Commit

Permalink
[skip ci] Merge with master
Browse files Browse the repository at this point in the history
  • Loading branch information
red0124 committed Feb 25, 2024
2 parents 0a695cf + a27fd12 commit b660310
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion include/ss/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ ssize_t get_line_file(char** lineptr, size_t* n, FILE* fp) {

if (*n <= buff_used + line_used) {
size_t new_n = *n * 2;

*lineptr = static_cast<char*>(strict_realloc(*lineptr, new_n));
*n = new_n;
}
Expand Down
1 change: 0 additions & 1 deletion ssp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,6 @@ ssize_t get_line_file(char** lineptr, size_t* n, FILE* fp) {

if (*n <= buff_used + line_used) {
size_t new_n = *n * 2;

*lineptr = static_cast<char*>(strict_realloc(*lineptr, new_n));
*n = new_n;
}
Expand Down

0 comments on commit b660310

Please sign in to comment.