Back

LL039

Untyped parameter

Object Pascal — Delphi & Free Pascal
Warning
Delphi

Untyped var/const parameters bypass compile-time type checking and can cause subtle corruption

untyped var/const parameters bypass compile-time type checking and can cause subtle corruption.

Why this severity

untyped var/const parameters bypass compile-time type checking and can cause subtle corruption.


Known false positives

generic buffer-copy routines designed to work with arbitrary data.

Remediation example

procedure CopyData(const Source: TBytes;
  var Dest: TBytes; Count: Integer);

Reconnecting… Connection lost. Reload