summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2021-04-29 04:14:30 +0000
committerAlan Antonuk <alan.antonuk@gmail.com>2021-04-28 22:45:23 -0700
commit81926ffdb8eadeba6dfebf994a23b81db3a32b00 (patch)
tree7d323a04de6b7eefe182e497543a6d17f85c47ad
parent51a82a82ff492626a7a1a420168e8bce1f196172 (diff)
downloadrabbitmq-c-81926ffdb8eadeba6dfebf994a23b81db3a32b00.tar.gz
lib: remove unused store in amqp_url
Found using clang-tidy Signed-off-by: GitHub <noreply@github.com>
-rw-r--r--librabbitmq/amqp_url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librabbitmq/amqp_url.c b/librabbitmq/amqp_url.c
index 4255acb..6de08a1 100644
--- a/librabbitmq/amqp_url.c
+++ b/librabbitmq/amqp_url.c
@@ -184,7 +184,7 @@ int amqp_parse_url(char *url, struct amqp_connection_info *parsed) {
}
if (delim == ':') {
- port = start = url;
+ port = url;
delim = find_delim(&url, 1);
}