Skip to content

Commit 0722422

Browse files
committed
silence unused label warning in debuginfo on non-darwin systems
1 parent b942785 commit 0722422

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/debuginfo.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,9 @@ void jl_getDylibFunctionInfo(const char **name, size_t *line, const char **filen
407407
context = it->second.ctx;
408408
slide = it->second.slide;
409409
}
410+
#ifdef _OS_DARWIN_
410411
lookup:
412+
#endif
411413
lookup_pointer(context, name, line, filename, pointer+slide, jl_is_sysimg(fname), fromC);
412414
return;
413415
}

0 commit comments

Comments
 (0)