projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused variable.
[libfirm]
/
ir
/
adt
/
iterator.c
diff --git
a/ir/adt/iterator.c
b/ir/adt/iterator.c
index
f5f7c5e
..
bf4004c
100644
(file)
--- a/
ir/adt/iterator.c
+++ b/
ir/adt/iterator.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
7
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-23,9
+23,7
@@
* @author Sebastian Hack
* @version $Id$
*/
* @author Sebastian Hack
* @version $Id$
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "config.h"
#include <string.h>
#include <string.h>
@@
-41,11
+39,14
@@
static void *it_pset_start(void *collection)
static void *it_pset_next(void *collection, void *curr)
{
static void *it_pset_next(void *collection, void *curr)
{
+ (void) curr;
return pset_next(collection);
}
static void it_pset_finish(void *collection, void *curr)
{
return pset_next(collection);
}
static void it_pset_finish(void *collection, void *curr)
{
+ (void) collection;
+ (void) curr;
}
static const iterator_t iterator_pset = {
}
static const iterator_t iterator_pset = {
@@
-72,6
+73,8
@@
static void *it_list_start(void *coll)
static void it_list_finish(void *coll, void *curr)
{
static void it_list_finish(void *coll, void *curr)
{
+ (void) coll;
+ (void) curr;
}
static const iterator_t iterator_list = {
}
static const iterator_t iterator_list = {