Remove old lint code

This removes dead code that, according to the comments, existed to
placate lint.  I don't think this has been relevant in a long time,
and certainly not since gdb switched to C++.

Tested by rebuilding.

ChangeLog
2018-07-30  Tom Tromey  <tom@tromey.com>

	* cli/cli-decode.c (lookup_cmd): Remove lint code.
	* value.c (unpack_long): Remove lint code.
	* valops.c (value_ind): Remove lint code.
	* valarith.c (value_x_binop, value_x_unop, value_equal)
	(value_pos): Remove lint code.
This commit is contained in:
Tom Tromey
2018-07-29 15:23:51 -06:00
parent a05b9f5e1e
commit dba7455e76
5 changed files with 11 additions and 20 deletions

View File

@ -1561,7 +1561,6 @@ lookup_cmd (const char **line, struct cmd_list_element *list,
}
error (_("Ambiguous %scommand \"%s\": %s."), local_cmdtype,
*line, ambbuf);
return 0; /* lint */
}
}
else