Skip to content

Commit

Permalink
remove empty var section (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
grobyns authored Oct 10, 2023
1 parent f242701 commit d7e0674
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ codeunit 7774 "Copilot Capability Impl"
TelemetryDeactivatedCopilotCapabilityLbl: Label 'Copilot capability deactivated.', Locked = true;

procedure RegisterCapability(CopilotCapability: Enum "Copilot Capability"; LearnMoreUrl: Text[2048]; CallerModuleInfo: ModuleInfo)
var
begin
RegisterCapability(CopilotCapability, Enum::"Copilot Availability"::Preview, LearnMoreUrl, CallerModuleInfo);
end;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ page 1927 "Detached Media Cleanup"
end;

trigger OnOpenPage()
var
begin
LoadLimit := 10000;
end;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ codeunit 1924 "Sampling Performance Profiler"
/// Starts performance profiling.
/// </summary>
procedure Start(SamplingInterval: Enum "Sampling Interval")
var
begin
SamplingPerfProfilerImpl.Start(SamplingInterval);
end;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ codeunit 9864 "Permission Impl."
end;

procedure FillLookupBuffer(var PermissionLookupBuffer: Record "Permission Lookup Buffer" temporary)
var
begin
if PermissionLookupBuffer.GetFilter("Lookup Type") = '' then
exit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ xmlport 9864 "Import Permission Sets"
end;

trigger OnPostXmlPort()
var
begin
if TempMetadataPermissionSet.FindSet() then
repeat
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ codeunit 3906 "Reten. Pol. Allowed Tbl. Impl."
end;

procedure ParseTableFilter(JsonObject: JsonObject; var TableId: Integer; var RetentionPeriodEnum: enum "Retention Period Enum"; var RetPeriodCalc: DateFormula; var DateFieldNo: Integer; var Enabled: Boolean; var Locked: Boolean; var TableFilter: Text)
var
begin
TableId := GetTableId(JsonObject);
RetentionPeriodEnum := GetRetentionPeriodEnum(JsonObject);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ codeunit 134687 "Test Email Connector" implements "Email Connector"
end;

procedure RegisterAccount(var EmailAccount: Record "Email Account"): Boolean
var
begin
if ConnectorMock.FailOnRegisterAccount() then
Error('Failed to register account');
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,6 @@ codeunit 132912 "Azure AD Plan Tests"

[ModalPageHandler]
procedure ModalHandler(var Plans: TestPage "Plans")
var
begin
Plans.OK().Invoke();
end;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ codeunit 132578 "Password Handler Test"

[EventSubscriber(ObjectType::Codeunit, Codeunit::"Password Dialog Management", 'OnSetMinPasswordLength', '', false, false)]
local procedure OnSetMinPasswordLength(var MinPasswordLength: Integer)
var
begin
// Increase the minimum length of the password.
MinPasswordLength := 16;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ codeunit 139482 "Custom Dimensions Test"
end;

local procedure RaiseOnAddCommonCustomDimensionsEvent(var TelemetryCustomDimensions: Codeunit "Telemetry Custom Dimensions")
var
begin
TelemetryCustomDimensions.AddAllowedCommonCustomDimensionPublisher('Microsoft');
TelemetryCustomDimensions.OnAddCommonCustomDimensions();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ codeunit 139485 "Test Telemetry Logger" implements "Telemetry Logger"

[EventSubscriber(ObjectType::Codeunit, Codeunit::"Telemetry Custom Dimensions", 'OnAddCommonCustomDimensions', '', true, true)]
local procedure OnAddCommonCustomDimensions(var Sender: Codeunit "Telemetry Custom Dimensions")
var
begin
Sender.AddCommonCustomDimension(CommonCustomDimensionNameTxt, CommonCustomDimensionValueTxt, TestPublisherTxt);
end;
Expand Down

0 comments on commit d7e0674

Please sign in to comment.