Opened 5 years ago
Closed 5 years ago
#4701 closed defect (fixed)
Compiler warning
Reported by: | gabberhead | Owned by: | |
---|---|---|---|
Priority: | Please fill in | Component: | ! Please select... |
Severity: | Please fill in | Keywords: | |
Cc: | Sensitive: | no |
Description
Revision
First Seen today. But can be few revisions earlier
Issue Description
It gives a Compiler warning, but compiles fine. I build native for debian. And on debian with toolchains for arm, mipsel and sh4. But the warning i get only for mipsel.
When the issue occurs
Always
[ 80%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_smargo.o
[ 81%] Building C object csctapi/CMakeFiles/csctapi.dir/atr.o
/home/gabberhead/oscam-mipsel/csctapi/atr.c:46:23: warning: 'atr_i_table' defined but not used [-Wunused-const-variable=]
static const uint32_t atr_i_table[4] = {25, 50, 100, 0};
/home/gabberhead/oscam-mipsel/csctapi/atr.c:33:23: warning: 'atr_num_ib_table' defined but not used [-Wunused-const-variable=]
static const uint32_t atr_num_ib_table[16] = {0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4};
~
Linking C static library libcsctapi.a
[ 81%] Built target csctapi
I use Debian and here no warnings with the mipsel-toolchain.