Skip to content

Commit

Permalink
Remove dupicate (and wrong) ged_interp assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Nov 25, 2024
1 parent 45265e4 commit f42e6a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mged/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,6 @@ mged_setup(Tcl_Interp **interpreter)
GEDP->ged_pre_closedb_callback = &mged_pre_closedb_clbk;
GEDP->ged_post_closedb_callback = &mged_post_closedb_clbk;
GEDP->ged_db_callback_udata = &mged_global_db_ctx;
GEDP->ged_interp = (void *)interpreter;

// Register during-execution callback function for search command
ged_clbk_set(GEDP, "search", 0, &mged_db_search_callback, (void *)*interpreter);
Expand Down

0 comments on commit f42e6a0

Please sign in to comment.