Prevented use of uninitialized variable in _client_gsku()

This commit is contained in:
RElesgoe 2016-08-28 02:17:05 -07:00
parent 269334c9de
commit 67a511cc3e

View file

@ -856,7 +856,7 @@ namespace pvpgn
break;
default:
WARN1("got unknown gameres type {} for GSKU", static_cast<int>(type));
break;
return -1;
}
if ((sku) && (game) && (game_get_clienttag(game) == tag_sku_to_uint(sku))) {