mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
removing unused var (issue #364)
This commit is contained in:
parent
047f35432b
commit
9abf508800
1 changed files with 0 additions and 2 deletions
|
@ -482,7 +482,6 @@ done:
|
|||
|
||||
static void* load_image_fn(sexp ctx, sexp dl, sexp name) {
|
||||
sexp ls;
|
||||
int len;
|
||||
void *fn = NULL;
|
||||
char *file_name, *rel_name=NULL, *new_file_name;
|
||||
char *handle_name = "<static>";
|
||||
|
@ -491,7 +490,6 @@ static void* load_image_fn(sexp ctx, sexp dl, sexp name) {
|
|||
if (!sexp_dl_handle(dl)) {
|
||||
/* try exact file, then the search path */
|
||||
file_name = sexp_string_data(sexp_dl_file(dl));
|
||||
len = sexp_string_size(sexp_dl_file(dl));
|
||||
sexp_dl_handle(dl) = dlopen(file_name, RTLD_LAZY);
|
||||
if (!sexp_dl_handle(dl)) {
|
||||
for (ls = sexp_global(ctx, SEXP_G_MODULE_PATH); sexp_pairp(ls); ls=sexp_cdr(ls)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue