private int deleteSymbol(String matchName, Address addr, Program program) {
		Symbol[] symbols = program.getSymbolTable().getSymbols(addr);
		int numSymbols = symbols.length;
		if (numSymbols <= 1) {
			return numSymbols;
		}
		// find the matching symbol and delete it
		for (Symbol sym : symbols) {
			if (sym.getName().equals(matchName)) {
				sym.delete();
				numSymbols -= 1;
				break;
			}
		}
		return numSymbols;
	}
Delete a symbol of the given name at the given address.

@param matchName is the given Symbol name
@param addr is the given Address
@param program is the Program
@return the number of Symbols remaining at the address
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/cmd/ApplyFidEntriesCommand.java