(svn r2323) Remove unused dereferencing

This commit is contained in:
tron
2005-05-15 18:43:36 +00:00
parent 3fd39ec630
commit 6cd410afbb
2 changed files with 6 additions and 6 deletions

View File

@@ -627,7 +627,7 @@ DEF_CONSOLE_CMD(ConExec)
while (_script_running && fgets(cmdline, sizeof(cmdline), _script_file) != NULL) {
/* Remove newline characters from the executing script */
for (cmdptr = cmdline; *cmdptr != '\0'; *cmdptr++) {
for (cmdptr = cmdline; *cmdptr != '\0'; cmdptr++) {
if (*cmdptr == '\n' || *cmdptr == '\r') {
*cmdptr = '\0';
break;