summaryrefslogtreecommitdiff
path: root/src/base/shot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/shot.c')
-rw-r--r--src/base/shot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/shot.c b/src/base/shot.c
index 826bad4..e0d9dbf 100644
--- a/src/base/shot.c
+++ b/src/base/shot.c
@@ -187,7 +187,7 @@ void drawListShot(list_t *listShot)
static int getRandomCourse(int x, int y)
{
- int ret;
+ int ret = -1; // no warnning
do{
switch( random() % 3 )