[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-devel] puzzling code
From: |
Chris Frey |
Subject: |
[Adonthell-devel] puzzling code |
Date: |
Fri, 8 Jun 2012 04:07:53 -0400 |
User-agent: |
Mutt/1.4.2.2i |
Hi,
Trying to compile things here on Debian sid... quite the adventure. :-)
Sometimes more a sid adventure than an Adonthell adventure.
But I encountered a real puzzler here:
https://github.com/ksterker/adonthell/blob/master/src/rpg/pathfinding_costs.cc#L87
The compiler says that 'actual' is an unused variable.
The statement itself is kinda odd. I would guess that it should be
reversed.
But the real puzzler is 'actual' itself. It appears to be a mystery variable
defined elsewhere, but where, I can't tell.
Help? :-)
Thanks,
- Chris
- [Adonthell-devel] puzzling code,
Chris Frey <=