diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-02-12 05:41:45 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-12 05:43:31 -0800 |
commit | 11559f1704921aa384bde66667d33c34731efa7d (patch) | |
tree | 1049b98728c87666cdfa785257fad5fb42474341 /windows.c | |
parent | ffc61e135743a1c7a2f81c1f96d0767fd3560e4f (diff) | |
download | subsurface-11559f1704921aa384bde66667d33c34731efa7d.tar.gz |
Don't reuse a variable name with a different type inside the same function
Since the variable was inside of an inner scope this was technically legal,
but it's just too annoying for words.
(The diff in the commit doesn't make this obvious, but outside the for
loop in the same function there is a divedatapoint *dp, so we had a
pointer to divedatapoint and a divedatapoint with the same name...)
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'windows.c')
0 files changed, 0 insertions, 0 deletions