remove redundant declaration of isSameExpression. fixes gcc compiler warning.