We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55552b1 + 2d79d1f commit 2dbbc54Copy full SHA for 2dbbc54
elf/mold-wrapper.c
@@ -22,7 +22,7 @@ static char *get_mold_path() {
22
exit(1);
23
}
24
25
-static void debug_print(char *fmt, ...) {
+static void debug_print(const char *fmt, ...) {
26
if (!getenv("MOLD_WRAPPER_DEBUG"))
27
return;
28
macho/mold.h
@@ -233,7 +233,7 @@ class Subsection {
233
u32 nrels = 0;
234
u32 unwind_offset = 0;
235
u32 nunwind = 0;
236
- Subsection<E> *replacer; // Used if is_coalesced is true
+ Subsection<E> *replacer = nullptr; // Used if is_coalesced is true
237
238
std::atomic_uint8_t p2align = 0;
239
std::atomic_bool is_alive = true;
0 commit comments