../kmscon/src/text_pixman.c:135:7: error: variable 'ret' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
if (!tp->surf[i]) {
^~~~~~~~~~~~
../kmscon/src/text_pixman.c:160:9: note: uninitialized use occurs here
return ret;
^~~
../kmscon/src/text_pixman.c:135:3: note: remove the 'if' if its condition is always false
if (!tp->surf[i]) {
^~~~~~~~~~~~~~~~~~~
../kmscon/src/text_pixman.c:116:9: note: initialize the variable 'ret' to silence this warning
int ret;
^
= 0
1 error generated.
Maybe some variables needs to be initialized