Skip to content

Commit 4d9021d

Browse files
committed
Removed unused code
1 parent 9e24942 commit 4d9021d

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

src/VBAexpressions.cls

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3873,10 +3873,8 @@ Private Function fZeroMBM(ByRef aFunction As String, ByVal A As Double, _
38733873
For i = varLB To UBound(tmpVar)
38743874
If Not IsConstant(tmpVar(i)) Then
38753875
If Not IsAssigned(tmpVar(i)) Then
3876-
'If Not IsInList(implictVarList, tmpVar(i)) Then
3877-
varCounter = varCounter + 1
3878-
varIdx = i
3879-
'End If
3876+
varCounter = varCounter + 1
3877+
varIdx = i
38803878
End If
38813879
End If
38823880
Next i
@@ -5957,7 +5955,6 @@ Private Function IsSavedPredictorName(ByRef aName As String, ByRef aNamesList()
59575955
End Function
59585956

59595957
Private Function IsSymbolInLiteralString(ByRef expression As String, SymbolPos As Long) As Boolean
5960-
Dim flagCounter As Long
59615958
Dim tmpPos As Long
59625959
Dim literalGap() As Long
59635960

@@ -10157,13 +10154,6 @@ Private Function Zero(ByRef expression As String, ByRef fName As String) As Stri
1015710154
, CDbl(FormatLiteralString(tmpData(LB + 1), True)) _
1015810155
, CDbl(FormatLiteralString(tmpData(LB + 2), True)), _
1015910156
CBool(FormatLiteralString(tmpData(UB), True)))
10160-
' Case 5
10161-
' tmpEval = fZeroMBM( _
10162-
FormatLiteralString(tmpData(LB), True) _
10163-
, CDbl(FormatLiteralString(tmpData(LB + 1), True)) _
10164-
, CDbl(FormatLiteralString(tmpData(LB + 2), True)), _
10165-
CBool(FormatLiteralString(tmpData(LB + 3), True)), _
10166-
, ArrayFromString(tmpData(UB)))
1016710157
Case Else
1016810158
tmpEval = e_ValueError
1016910159
BuildErrMessage errMissingArgsOrTooManyArgs, d_lCurly & fName & d_rCurly

0 commit comments

Comments
 (0)