Skip to content

Commit ddb18f5

Browse files
Squash a few Lager-specific compiler warnings
1 parent 97e3398 commit ddb18f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deps/rabbit/src/rabbit_vhost.erl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,20 +440,20 @@ update_tags(VHostName, Tags, ActingUser) ->
440440
R = rabbit_misc:execute_mnesia_transaction(fun() ->
441441
update_tags(VHostName, ConvertedTags)
442442
end),
443-
rabbit_log:info("Successfully set tags for virtual host '~s' to ~p", [VHostName, ConvertedTags]),
443+
_ = rabbit_log:info("Successfully set tags for virtual host '~s' to ~p", [VHostName, ConvertedTags]),
444444
rabbit_event:notify(vhost_tags_set, [{name, VHostName},
445445
{tags, ConvertedTags},
446446
{user_who_performed_action, ActingUser}]),
447447
R
448448
catch
449449
throw:{error, {no_such_vhost, _}} = Error ->
450-
rabbit_log:warning("Failed to set tags for virtual host '~s': the virtual host does not exist", [VHostName]),
450+
_ = rabbit_log:warning("Failed to set tags for virtual host '~s': the virtual host does not exist", [VHostName]),
451451
throw(Error);
452452
throw:Error ->
453-
rabbit_log:warning("Failed to set tags for virtual host '~s': ~p", [VHostName, Error]),
453+
_ = rabbit_log:warning("Failed to set tags for virtual host '~s': ~p", [VHostName, Error]),
454454
throw(Error);
455455
exit:Error ->
456-
rabbit_log:warning("Failed to set tags for virtual host '~s': ~p", [VHostName, Error]),
456+
_ = rabbit_log:warning("Failed to set tags for virtual host '~s': ~p", [VHostName, Error]),
457457
exit(Error)
458458
end.
459459

0 commit comments

Comments
 (0)