How to disable the warnings which considered as error in yocto BITBAKE recipe.
error: '<variable>' is used uninitialized in this function [-Werror=uninitialized]
You can add more compilation flags as below on your recipes.
TARGET_CFLAGS += -Wuninitialized
TARGET_CFLAGS += -Wmaybe-uninitialized