]> git.stg.codes - stg.git/commitdiff
Initialise 'user' field in RS_USER's constructor
authorMaxim Mamontov <faust.madf@gmail.com>
Mon, 4 Apr 2011 18:41:15 +0000 (21:41 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Mon, 4 Apr 2011 18:41:15 +0000 (21:41 +0300)
projects/stargazer/plugins/other/rscript/rscript.cpp

index a772e5076cf1523fdfd13b53479812e63b55fbb0..b03235d8be5f178710a0f90d6b88aecb54aa760a 100644 (file)
@@ -81,6 +81,7 @@ return rsc.GetPlugin();
 //-----------------------------------------------------------------------------
 RS_USER::RS_USER()
     : lastSentTime(0),
 //-----------------------------------------------------------------------------
 RS_USER::RS_USER()
     : lastSentTime(0),
+      user(NULL),
       shortPacketsCount(0)
 {
 }
       shortPacketsCount(0)
 {
 }