From 4541e17e8350ac9b810c9f2cc60fef673d645212 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien.villemot@ens.fr>
Date: Fri, 8 Jun 2012 19:00:57 +0200
Subject: [PATCH] Remove various compiler warnings

---
 MinimumFeedbackSet.cc | 3 +--
 StaticModel.cc        | 4 +---
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/MinimumFeedbackSet.cc b/MinimumFeedbackSet.cc
index c43562f0..479c8f22 100644
--- a/MinimumFeedbackSet.cc
+++ b/MinimumFeedbackSet.cc
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009-2011 Dynare Team
+ * Copyright (C) 2009-2012 Dynare Team
  *
  * This file is part of Dynare.
  *
@@ -226,7 +226,6 @@ namespace MFS
     bool not_a_loop;
     int i;
     AdjacencyList_t::vertex_iterator  it, it1, ita, it_end;
-    property_map<AdjacencyList_t, vertex_index_t>::type v_index = get(vertex_index, G);
     for (tie(it, it_end) = vertices(G), i = 0; it != it_end; ++it, i++)
       {
         int in_degree_n = in_degree(*it, G);
diff --git a/StaticModel.cc b/StaticModel.cc
index 9f9f0a06..57b13bea 100644
--- a/StaticModel.cc
+++ b/StaticModel.cc
@@ -1515,12 +1515,10 @@ StaticModel::writeOutput(ostream &output, bool block) const
     {
       BlockSimulationType simulation_type = getBlockSimulationType(b);
       unsigned int block_size = getBlockSize(b);
-      unsigned int block_mfs = getBlockMfs(b);
-      unsigned int block_recursive = block_size - block_mfs;
       ostringstream tmp_s, tmp_s_eq;
       tmp_s.str("");
       tmp_s_eq.str("");
-      for (int i = 0; i < block_size; i++)
+      for (unsigned int i = 0; i < block_size; i++)
         {
           tmp_s << " " << getBlockVariableID(b, i)+1;
           tmp_s_eq << " " << getBlockEquationID(b, i)+1;
-- 
GitLab