Skip to content

Commit 5e54ec6

Browse files
authored
Merge pull request #24 from johanhedin/fix-unused-variable
Fix warning for unused variable
2 parents e200cfb + f8c5589 commit 5e54ec6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ACM.Http/RemoteFile.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public async Task<bool> Get(string path) {
2525
bool result;
2626
try {
2727
result = await ProcessStream(path, remote_stream);
28-
} catch (Exception e) {
28+
} catch (Exception) {
2929
remote_stream.Close();
3030
await ClearFile(path);
3131
throw;
@@ -44,7 +44,7 @@ private async Task<bool>
4444
bool result;
4545
try {
4646
result = await fs_.PutFile(path, remote_stream);
47-
} catch (Exception e) {
47+
} catch (Exception) {
4848
await ClearFile(path);
4949
throw;
5050
}

0 commit comments

Comments
 (0)