Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

module_loader.cpp: LoadModule() appears to be entirely dead code — confirm and delete

Open
#32 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@thesprockee is already working on this.

Since Oct 7, 2026.

  • #213 by @thesprockee — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
backend

Research direction

Start with src/runtime/ext/module_loader.cpp and verify the repo-wide grep showing no callers of LoadModule(). Read the “Runtime-loaded modules” section of AGENTS.md and confirm the static-module path is the intended one. Done means maintainer-confirmed dead code is removed, including its 11 Log()/FatalError() call sites, with no remaining references.

Written by the indexing model from the issue text.

Description

Found while auditing log message quality in src/runtime/ext/module_loader.cpp (repo-wide log audit).

LoadModule() (the dynamic modules/*.dll loader, ~lines 51-138, 11 Log()/FatalError() call sites) has zero callers anywhere in the current codebase, verified by repo-wide grep. Per AGENTS.md's "Runtime-loaded modules" section (updated 2026-08-02), both real modules (platform-compat, token-auth) are now statically linked into BugSplat64.dll via RegisterStaticModule, and AGENTS.md's own list of infrastructure kept "for any future modules" names RegisterStaticModule/TickModules/NotifyModulesStateChange — conspicuously not LoadModule.

The log-audit commit for this file improved LoadModule()'s log/FatalError content on the assumption it might still be load-bearing (in case it's intentionally kept for a future dynamic-module path), but did not delete it.

Please confirm: is LoadModule() intentionally kept as scaffolding for a future dynamic-module capability, or is it dead code left over from before the 2026-08-02 static-linking change and safe to delete? If dead, recommend deleting LoadModule() and its associated 11 log call sites entirely rather than continuing to maintain them.

Dominant language
C
Stars
2
Forks
2
Avg merge
8h 44m
Merged PRs (30d)
72

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EchoTools/nevr-runtime

All issues in EchoTools/nevr-runtime

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.