Warning: Unused Parameters during make
Closed this issue · 1 comments
MECU commented
During make I get these warnings:
[root@host build]# make
Build: REGULAR
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rpn/mcpe_viz/build
Scanning dependencies of target mcpe_viz
[ 25%] Building CXX object CMakeFiles/mcpe_viz.dir/mcpe_viz.cc.o
[ 50%] Building CXX object CMakeFiles/mcpe_viz.dir/mcpe_viz.xml.cc.o
[ 75%] Building CXX object CMakeFiles/mcpe_viz.dir/mcpe_viz.nbt.cc.o
/home/rpn/mcpe_viz/mcpe_viz.nbt.cc:2338:13: warning: unused parameter ‘tc’ [-Wunused-parameter]
int32_t set ( nbt::tag_compound &tc ) {
^
/home/rpn/mcpe_viz/mcpe_viz.nbt.cc: In function ‘int32_t mcpe_viz::parseNbt_mVillages(mcpe_viz::MyNbtTagList&)’:
/home/rpn/mcpe_viz/mcpe_viz.nbt.cc:2645:19: warning: unused variable ‘vTick’ [-Wunused-variable]
int32_t vTick = td["Tick"].as<nbt::tag_int>().get();
^
[100%] Building CXX object CMakeFiles/mcpe_viz.dir/mcpe_viz.util.cc.o
Linking CXX executable mcpe_viz
mcpe_viz works fine however
Plethora777 commented
Those warnings are harmless. Closing this :)