warning: unused variable ‘useKchmviewer’ [-Wunused-variable]

That is not an error. Only a warning. The code was compiling successfully. The warning is telling you that the Boolean you defined is not used: you write in the variable "useKchmviewer" but never read from it.

Reply via email to