From 5c36c44689a435fb93b5d1f2e13c763ab92ecbeb Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Wed, 21 Aug 2013 11:42:56 +1000 Subject: [PATCH] Remove annyoing warnings --- src/acl.erl | 3 --- src/shaper.erl | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/acl.erl b/src/acl.erl index 809d6ff33..6e05b2002 100644 --- a/src/acl.erl +++ b/src/acl.erl @@ -265,9 +265,6 @@ match_rule(Host, Access, JID) -> end, case GAccess ++ LAccess of [] -> - ?WARNING_MSG("Attempt to match against unspecified " - "access rule '~s' (scope: ~s)", - [Access, Host]), deny; AccessList -> Rules = lists:flatmap( diff --git a/src/shaper.erl b/src/shaper.erl index d89f60fbe..bdccac329 100644 --- a/src/shaper.erl +++ b/src/shaper.erl @@ -84,8 +84,6 @@ new(Name) -> [#shaper{maxrate = R}] -> R; [] -> - ?WARNING_MSG("Attempt to initialize an " - "unspecified shaper '~s'", [Name]), none end, new1(MaxRate).