Fixes for OpenBSD
[oweals/cde.git] / cde / programs / dtinfo / DtMmdb / compression / code.C
index b6d72f865ef8e215b707287aaaefe2ef437f76c4..f5ea1ea9633a06c235819d6d9414229ac1c229dc 100644 (file)
@@ -1,3 +1,25 @@
+/*
+ * CDE - Common Desktop Environment
+ *
+ * Copyright (c) 1993-2012, The Open Group. All rights reserved.
+ *
+ * These libraries and programs are free software; you can
+ * redistribute them and/or modify them under the terms of the GNU
+ * Lesser General Public License as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * These libraries and programs are distributed in the hope that
+ * they will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with these libraries and programs; if not, write
+ * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+ * Floor, Boston, MA 02110-1301 USA
+ */
 /*
  * $XConsortium: code.cc /main/3 1996/06/11 17:14:57 cde-hal $
  *
@@ -29,7 +51,7 @@
 #include "compression/code.h"
 
 encoding_unit::encoding_unit(ostring* w, unsigned int f) :
-   word(w), freq(f), code(0)
+   word(w), freq(f), code(0), bits(0), leaf_htr_node(NULL)
 {
 }