perf(core): remove some extra instructions

This commit is contained in:
2022-12-29 21:34:10 +03:00
parent 28ee348dad
commit 90e5761d3e
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -128,7 +128,6 @@ int sasa_add(Sasahyou *sasahyou, const char *path) {
size_t path_size = strlen(path);
newbie.path = malloc(path_size + 1);
strcpy(newbie.path, path);
newbie.path[path_size] = 0;
if (sasahyou->hole_cnt > 0) {
sasahyou->hole_cnt--;
Sasa **hole_ptr = sasahyou->holes + sasahyou->hole_cnt;