mirror of
https://github.com/vishapoberon/vipak.git
synced 2026-04-05 20:42:26 +00:00
initializing some strings with zeros.
This commit is contained in:
parent
da7af58055
commit
dd06820e01
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
MODULE vpkGit;
|
||||
IMPORT Out, Strings, Platform, vpkEnv;
|
||||
IMPORT Out, Strings, Platform, vpkEnv, strutils;
|
||||
|
||||
PROCEDURE pull*(VAR url : ARRAY OF CHAR; VAR dst : ARRAY OF CHAR; VAR branch: ARRAY OF CHAR);
|
||||
VAR i : INTEGER;
|
||||
|
|
|
|||
|
|
@ -36,6 +36,9 @@ VAR
|
|||
keys, values: StringList.TStringList;
|
||||
i: LONGINT;
|
||||
BEGIN
|
||||
strutils.zeroStr(URI);
|
||||
strutils.zeroStr(type);
|
||||
strutils.zeroStr(branch);
|
||||
p := NIL;
|
||||
vpkStorage.json2pstring(d.name^, p);
|
||||
IF p # NIL THEN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue