Fix Coverity #76267: Initialize values for SingleGameInterface
Use initializer list to set member variables to their default values. The SingleGameInterface constructor should, however, only be called from the KBlocksSingleGame constructor which subsequently sets the variables to other values determined from the parameters to KBlocksSingleGame(). Nonetheless, it is good practice to make sure that all variables will be initialized.
parent
be788d07
Please register or sign in to comment