Skip to content

Commit 1d05fb0

Browse files
committed
xrGameSpy/xrGameSpy.cpp: Initialize variable just to be safe
1 parent 4295a54 commit 1d05fb0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/xrGameSpy/xrGameSpy.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ const char* GetGameVersion() { return GAME_VERSION; }
3535

3636
int GetGameDistribution()
3737
{
38-
int KeyValue;
38+
int KeyValue = 0;
39+
3940
#ifdef WINDOWS
4041
HKEY KeyCDKey = 0;
4142

0 commit comments

Comments
 (0)