View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003587 | unreal | ircd | public | 2008-01-19 15:58 | 2015-08-08 16:43 |
| Reporter | Bock | Assigned To | syzop | ||
| Priority | normal | Severity | trivial | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.2.8 | ||||
| Summary | 0003587: some unused variables | ||||
| Description | In m_map.c I found some unused variables: char servername[128][128]; int server_usercount[128]; int numservers = 0; and I think what function static void dump_map(aClient *cptr, aClient *server, char *mask, int prompt_length, int length) can be without "mask" cos I don't find it to do something in code. In comments: /* ** New /MAP format. -Potvin ** m_map (NEW) ** ** parv[0] = sender prefix ** parv[1] = server mask **/ I think what MAYBE it's for future searching in /map by mask, but: if (parc < 2) parv[1] = "*"; and: dump_map(sptr, &me, "*", 0, longest); maybe instead "*" might be parv[1] but it's not :P and mask not used in dump_map. I finished. :) | ||||
| 3rd party modules | |||||