ndctl icon indicating copy to clipboard operation
ndctl copied to clipboard

../test/libndctl.c:989:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]

Open yizhanglinux opened this issue 4 years ago • 0 comments

Hello I found this warning during compiling the code:

../test/libndctl.c: In function ‘check_btt_size’: ../test/libndctl.c:989:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] unsigned long long expect_table[][2] = { ^~~~~~~~ CC ../test/dsm-fail.o CC ../util/sysfs.o CC ../test/dpa-alloc.o CC ../test/parent-uuid.o CC ../test/multi-pmem.o CC ../test/core.o CC test.o CCLD ndctl

Thanks Yi

yizhanglinux avatar Feb 08 '21 04:02 yizhanglinux