aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-08-19 15:03:10 +0100
committergingerBill <bill@gingerbill.org>2021-08-19 15:03:10 +0100
commit7845769d4b417fdd321740c5404016dbc3119d43 (patch)
tree1ae0d5fb26452ac044101a161d202f7b0135f6f2 /src/main.cpp
parent33239324b83c7a32471fe147c1539fb86ca48404 (diff)
Remove unused code
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 2a7468051..b4dabcd25 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -236,8 +236,8 @@ i32 linker_stage(lbGenerator *gen) {
for_array(i, m->foreign_library_paths) {
String lib = m->foreign_library_paths[i];
GB_ASSERT(lib.len < gb_count_of(lib_str_buf)-1);
- isize len = gb_snprintf(lib_str_buf, gb_size_of(lib_str_buf),
- " \"%.*s\"", LIT(lib));
+ gb_snprintf(lib_str_buf, gb_size_of(lib_str_buf),
+ " \"%.*s\"", LIT(lib));
lib_str = gb_string_appendc(lib_str, lib_str_buf);
}
}
@@ -245,8 +245,8 @@ i32 linker_stage(lbGenerator *gen) {
for_array(i, gen->default_module.foreign_library_paths) {
String lib = gen->default_module.foreign_library_paths[i];
GB_ASSERT(lib.len < gb_count_of(lib_str_buf)-1);
- isize len = gb_snprintf(lib_str_buf, gb_size_of(lib_str_buf),
- " \"%.*s\"", LIT(lib));
+ gb_snprintf(lib_str_buf, gb_size_of(lib_str_buf),
+ " \"%.*s\"", LIT(lib));
lib_str = gb_string_appendc(lib_str, lib_str_buf);
}