[gnome-games] gnibbles: remove unused variable
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] gnibbles: remove unused variable
- Date: Sat, 30 Jul 2011 10:02:45 +0000 (UTC)
commit d63b85e5cc459a212844deff5d2e6885ea358e9b
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Sat Jul 30 12:06:30 2011 +0200
gnibbles: remove unused variable
gnibbles/gnibbles.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gnibbles/gnibbles.c b/gnibbles/gnibbles.c
index 52a3e80..57a6830 100644
--- a/gnibbles/gnibbles.c
+++ b/gnibbles/gnibbles.c
@@ -218,14 +218,13 @@ gnibbles_init (void)
gint
gnibbles_move_worms (void)
{
- gint i, j, olddir;
+ gint i, j;
gint status = 1, nlives = 1;
gint *dead;
dead = g_new (gint, properties->numworms);
for (i = 0; i < properties->numworms; i++) {
- olddir = worms[i]->direction;
if (!worms[i]->human) {
gnibbles_worm_ai_move (worms[i]);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]