mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 12:44:00 +02:00
FpDebug: missing result initialization
git-svn-id: trunk@64400 -
This commit is contained in:
parent
0027bd2412
commit
71e66e0c64
@ -2801,6 +2801,7 @@ function TFpPascalExpressionPartOperatorPlusMinus.DoGetResultValue: TFpValue;
|
|||||||
end;
|
end;
|
||||||
function ConcateCharData(ACharVal, AOtherVal: TFpValue): TFpValue;
|
function ConcateCharData(ACharVal, AOtherVal: TFpValue): TFpValue;
|
||||||
begin
|
begin
|
||||||
|
Result := nil;
|
||||||
if AOtherVal.FieldFlags * [svfString, svfWideString] <> [] then
|
if AOtherVal.FieldFlags * [svfString, svfWideString] <> [] then
|
||||||
Result := TFpValueConstString.Create(ACharVal.AsString + AOtherVal.AsString)
|
Result := TFpValueConstString.Create(ACharVal.AsString + AOtherVal.AsString)
|
||||||
else
|
else
|
||||||
@ -3216,6 +3217,7 @@ function TFpPascalExpressionPartOperatorCompare.DoGetResultValue: TFpValue;
|
|||||||
end;
|
end;
|
||||||
function CharDataEqualToValue(ACharVal, AOtherVal: TFpValue; AReverse: Boolean = False): TFpValue;
|
function CharDataEqualToValue(ACharVal, AOtherVal: TFpValue; AReverse: Boolean = False): TFpValue;
|
||||||
begin
|
begin
|
||||||
|
Result := nil;
|
||||||
if (AOtherVal.FieldFlags * [svfString, svfWideString] <> []) then
|
if (AOtherVal.FieldFlags * [svfString, svfWideString] <> []) then
|
||||||
Result := TFpValueConstBool.Create((ACharVal.AsString = AOtherVal.AsString) xor AReverse)
|
Result := TFpValueConstBool.Create((ACharVal.AsString = AOtherVal.AsString) xor AReverse)
|
||||||
else
|
else
|
||||||
@ -3254,6 +3256,7 @@ function TFpPascalExpressionPartOperatorCompare.DoGetResultValue: TFpValue;
|
|||||||
end;
|
end;
|
||||||
function CharDataGreaterThanValue(ACharVal, AOtherVal: TFpValue; AReverse: Boolean = False): TFpValue;
|
function CharDataGreaterThanValue(ACharVal, AOtherVal: TFpValue; AReverse: Boolean = False): TFpValue;
|
||||||
begin
|
begin
|
||||||
|
Result := nil;
|
||||||
if (AOtherVal.FieldFlags * [svfString, svfWideString] <> []) then
|
if (AOtherVal.FieldFlags * [svfString, svfWideString] <> []) then
|
||||||
Result := TFpValueConstBool.Create((ACharVal.AsString > AOtherVal.AsString) xor AReverse)
|
Result := TFpValueConstBool.Create((ACharVal.AsString > AOtherVal.AsString) xor AReverse)
|
||||||
else
|
else
|
||||||
@ -3292,6 +3295,7 @@ function TFpPascalExpressionPartOperatorCompare.DoGetResultValue: TFpValue;
|
|||||||
end;
|
end;
|
||||||
function CharDataSmallerThanValue(ACharVal, AOtherVal: TFpValue; AReverse: Boolean = False): TFpValue;
|
function CharDataSmallerThanValue(ACharVal, AOtherVal: TFpValue; AReverse: Boolean = False): TFpValue;
|
||||||
begin
|
begin
|
||||||
|
Result := nil;
|
||||||
if (AOtherVal.FieldFlags * [svfString, svfWideString] <> []) then
|
if (AOtherVal.FieldFlags * [svfString, svfWideString] <> []) then
|
||||||
Result := TFpValueConstBool.Create((ACharVal.AsString < AOtherVal.AsString) xor AReverse)
|
Result := TFpValueConstBool.Create((ACharVal.AsString < AOtherVal.AsString) xor AReverse)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user