Skip to content
Snippets Groups Projects
Commit f2509a6d authored by rswindell's avatar rswindell
Browse files

#ifdef'd out the is_command() definition too, to elminate gcc warning.

parent e0f952ea
No related branches found
No related tags found
No related merge requests found
......@@ -922,10 +922,12 @@ static void show_usage(char *cmd)
printf(services_usage);
}
#if SBBS_MAGIC_FILENAMES
static int command_is(char *cmdline, char *cmd)
{
return(strnicmp(getfname(cmdline),cmd,strlen(cmd))==0);
}
#endif
/****************************************************************************/
/* Main Entry Point */
......@@ -1099,7 +1101,7 @@ int main(int argc, char** argv)
read_startup_ini();
#if 0 /* This stuff is just broken */
#if SBBS_MAGIC_FILENAMES /* This stuff is just broken */
if(!command_is(argv[0],"sbbs")) {
run_bbs=has_bbs=FALSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment