Browse Source

fix warning

221V 1 year ago
parent
commit
c18c19bf57
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/epgsql_pool_worker.erl

+ 1 - 1
src/epgsql_pool_worker.erl

@@ -107,7 +107,7 @@ handle_info(open_connection, #state{pool_name = PoolName, connection = Connectio
             {noreply, State#state{connection = Connection4}}
     end;
 
-handle_info(on_connect, #state{pool_name = PoolName, connection = Connection} = State) ->
+handle_info(on_connect, #state{pool_name = PoolName, connection = _Connection} = State) ->
     case application:get_env(epgsql_pool, connect_listener) of
         undefined -> ignore;
         {ok, undefined} -> ignore;