removed unused header
[libfirm] / ir / ir / irarch.c
index 89bd0d5..d7d5a35 100644 (file)
@@ -1,10 +1,28 @@
-/**
- * @file irarch.c
- * @date 28.9.2004
- * @author Sebastian Hack, Michael Beck
- * @brief Machine dependent Firm optimizations.
+/*
+ * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
  *
- * $Id$
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ */
+
+/**
+ * @file
+ * @brief   Machine dependent Firm optimizations.
+ * @date    28.9.2004
+ * @author  Sebastian Hack, Michael Beck
+ * @version $Id$
  */
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -359,7 +377,7 @@ ir_node *arch_dep_replace_mul_with_shifts(ir_node *irn)
  */
 static int tv_ld2(tarval *tv, int bits)
 {
-  int i, k, num;
+  int i, k = 0, num;
 
   for (num = i = 0; i < bits; ++i) {
     unsigned char v = get_tarval_sub_bits(tv, i);