MCPcopy Index your code
hub / github.com/NetHack/NetHack / duplicate_opt_detection

Function duplicate_opt_detection

src/options.c:6781–6787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6779}
6780
6781staticfn boolean
6782duplicate_opt_detection(int optidx)
6783{
6784 if (go.opt_initial && go.opt_from_file)
6785 return allopt[optidx].dupdetected++;
6786 return FALSE;
6787}
6788
6789staticfn void
6790complain_about_duplicate(int optidx)

Callers 1

parseoptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected