aboutsummaryrefslogtreecommitdiff
path: root/src/types/str.c
diff options
context:
space:
mode:
authorbasicallygit <[email protected]>2025-11-20 21:33:53 +0000
committerbasicallygit <[email protected]>2025-11-21 14:24:37 +0000
commitc138da8d7f550ef1699eb50d786925d74c18a79a (patch)
treea916f27e72f3368b943e6c817795b68d43738847 /src/types/str.c
parent01c3959cbb6dbe378c7ec6d5d079397fdc1296b7 (diff)
Fix returning void value from void functions and print mimetypes warning to stderr
Diffstat (limited to 'src/types/str.c')
-rw-r--r--src/types/str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/str.c b/src/types/str.c
index e1818a2..bbd5ad9 100644
--- a/src/types/str.c
+++ b/src/types/str.c
@@ -35,7 +35,7 @@ str* str_init(const char* init){
void str_free(str* s){
free(s->c);
- return free(s);
+ free(s);
}
void str_push(str* s, const char* insert){