]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Initialize d_fnum, fixes cid#1324500 2750/head
authorAki Tuomi <cmouse@desteem.org>
Wed, 16 Sep 2015 09:01:08 +0000 (12:01 +0300)
committerAki Tuomi <cmouse@desteem.org>
Wed, 16 Sep 2015 09:01:08 +0000 (12:01 +0300)
modules/gpgsqlbackend/spgsql.cc

index 4a065619cdcfca0e5635df55bf92afda5bb38441..701a2c4f973993f6e1d9a83c3880953b80a19723 100644 (file)
@@ -37,7 +37,7 @@ public:
       throw SSqlException("Fatal error during prepare: " + d_query + string(": ") + errmsg);
     } 
     paramValues=NULL;
-    d_cur_set=0;d_paridx=d_residx=d_resnum=0;
+    d_cur_set=d_paridx=d_residx=d_resnum=d_fnum=0;
     paramLengths=NULL;
     d_res=NULL;
     d_res_set=NULL;