mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-01 04:33:43 +02:00
20 lines
335 B
ObjectPascal
20 lines
335 B
ObjectPascal
{ %opt=-Sen }
|
|
|
|
{ Source provided for Free Pascal Bug Report 2817 }
|
|
{ Submitted by "Mattias Gaertner" on 2003-11-30 }
|
|
{ e-mail: mattias@freepascal.org }
|
|
program UnusedVar;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
procedure DoSomething(var Lines: PPChar; var LineCount: integer);
|
|
var
|
|
p: PPChar;
|
|
begin
|
|
p:=Lines;
|
|
p[LineCount-1]:=nil;
|
|
end;
|
|
|
|
begin
|
|
end.
|