Skip to content

Commit 22c10f1

Browse files
Remove warning
1 parent 88a227f commit 22c10f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

prolog/tus.pl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,6 @@
11821182
]),
11831183
random_file(tus_storage_test, Path),
11841184
make_directory(Path),
1185-
Options = [tus_storage_path(Path)],
11861185
Base = 'http://cloudapi.com:8080/TerminusX/api/files',
11871186
spawn_auth_server(URL, Port, [resumable_endpoint_base(Base),tus_storage_path(Path)]))),
11881187
cleanup(kill_server(Port))
@@ -1194,7 +1193,7 @@
11941193
format(Stream, '~s', [Content]),
11951194
close(Stream),
11961195
tus_options(URL, Tus_Options, [authorization(basic(me,pass))]),
1197-
tus_create(URL, File, Length, Resource_URL, Tus_Options, [authorization(basic(me,pass))]),
1196+
tus_create(URL, File, _Length, Resource_URL, Tus_Options, [authorization(basic(me,pass))]),
11981197

11991198
string_length(Base, Len),
12001199
sub_string(Resource_URL, 0, Len, _, Base).

0 commit comments

Comments
 (0)