when I include the qlc hrl, and compile test.erl
in Erlang 23.1 and lager master branch and tag 2.9.2 release
it generates Warning in every lager function call
src/test.erl:9: Warning: a term is constructed, but never used
in Erlang 23.1 and lager tag 2.9.1 release, test.erl is compiled without warning.
if I remove the -include_lib("stdlib/include/qlc.hrl"). and compile test.erl again.
the code is compiled without warning.
the test.erl is
-module(test).
-include_lib("stdlib/include/qlc.hrl").
%% API
-export([ test/0 ]).
test() ->
lager:debug(""),
ok.
when I include the qlc hrl, and compile test.erl
in Erlang 23.1 and lager master branch and tag 2.9.2 release
it generates Warning in every lager function call
src/test.erl:9: Warning: a term is constructed, but never usedin Erlang 23.1 and lager tag 2.9.1 release, test.erl is compiled without warning.
if I remove the
-include_lib("stdlib/include/qlc.hrl").and compile test.erl again.the code is compiled without warning.
the test.erl is