aboutsummaryrefslogtreecommitdiffstats
path: root/CodingStyle
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-12 05:41:45 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-12 05:43:31 -0800
commit11559f1704921aa384bde66667d33c34731efa7d (patch)
tree1049b98728c87666cdfa785257fad5fb42474341 /CodingStyle
parentffc61e135743a1c7a2f81c1f96d0767fd3560e4f (diff)
downloadsubsurface-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 'CodingStyle')
0 files changed, 0 insertions, 0 deletions