projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09f4a16
)
engines/http: Drop unused varible
author
Pavel Reichl
<preichl@redhat.com>
Fri, 15 Dec 2023 18:20:33 +0000
(19:20 +0100)
committer
Pavel Reichl
<preichl@redhat.com>
Fri, 15 Dec 2023 20:14:37 +0000
(21:14 +0100)
Signed-off-by: Pavel Reichl <preichl@redhat.com>
engines/http.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/http.c
b/engines/http.c
index 83cfe8bb711fadbec2c9df2a5943978228668b16..001479b055d5c82556c1f6348faa6bb842a7e40c 100644
(file)
--- a/
engines/http.c
+++ b/
engines/http.c
@@
-640,7
+640,6
@@
static enum fio_q_status fio_http_queue(struct thread_data *td,
char url[1024];
long status;
CURLcode res;
- int r = -1;
fio_ro_check(td, io_u);
memset(&_curl_stream, 0, sizeof(_curl_stream));
@@
-712,7
+711,7
@@
static enum fio_q_status fio_http_queue(struct thread_data *td,
log_err("WARNING: Only DDIR_READ/DDIR_WRITE/DDIR_TRIM are supported!\n");
err:
- io_u->error =
r
;
+ io_u->error =
-1
;
td_verror(td, io_u->error, "transfer");
out:
curl_slist_free_all(slist);