]> granicus.if.org Git - pdns/commitdiff
Initialize QType code
authorAki Tuomi <cmouse@cmouse.fi>
Sun, 18 Oct 2015 20:42:51 +0000 (23:42 +0300)
committerAki Tuomi <cmouse@desteem.org>
Mon, 26 Oct 2015 10:28:04 +0000 (12:28 +0200)
Fixes CID#1030022

pdns/qtype.cc

index 6f70be9498ae780fc63fee0fa6161165cad3b748..9bd671db7fddf91f712e64a410d4588ebe969aeb 100644 (file)
@@ -36,6 +36,7 @@ QType::init QType::initializer;
 
 QType::QType()
 {
+  code = 0;
 }
 
 bool QType::isSupportedType() {